blob: 9e6bb54a777b90b93833fce5c631941a88776fe7 [file] [log] [blame]
#pragma once
#include "caffe2/core/common.h"
#include "caffe2/proto/caffe2_pb.h"
#include "nomnigraph/Representations/NeuralNet.h"
namespace caffe2 {
namespace opt {
// \brief This fuses Cast -> BatchOneHot -> Cast
// into a single call.
void fuseCastBatchOneHot(nom::repr::NNModule* nn);
} // namespace opt
} // namespace caffe2