Home
last modified time | relevance | path

Searched refs:IsTraining (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/
Dfused_batchnorm_reserve_space_test.cc116 scale, offset, mean, variance, FusedBatchNorm::Attrs{}.IsTraining(true)); in TEST()
119 scale, offset, mean, variance, FusedBatchNorm::Attrs{}.IsTraining(true)); in TEST()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dremapper_test.cc53 attr = attr.IsTraining(false); in TEST_F()
89 attr = attr.IsTraining(false); in TEST_F()
152 ops::FusedBatchNormV3::IsTraining(is_training) in TEST_F()
263 ops::FusedBatchNormV3::IsTraining(is_training) in TEST_F()
774 attrs = attrs.IsTraining(false); in TEST_F()
853 attrs = attrs.IsTraining(false); in TEST_F()
Dgeneric_layout_optimizer_transposer.h293 bool IsTraining(const utils::MutableNodeView& node) const;
Dmkl_remapper_test.cc338 ops::FusedBatchNormV3::IsTraining(is_training) in TEST_F()
Dlayout_optimizer.cc1220 return NodeProcessor::ShouldProcess() && IsTraining(); in ShouldProcess()
1226 bool IsTraining() const { in IsTraining() function in tensorflow::grappler::__anon5a8ea6d90111::FusedBatchNormGradProcessor
Dgeneric_layout_optimizer_transposer.cc960 bool FusedBatchNormGradTransposer::IsTraining( in IsTraining() function in tensorflow::grappler::FusedBatchNormGradTransposer
977 if (!ShouldProcess(*context, *node) || !IsTraining(*node)) { in TransposeNode()
Dgeneric_layout_optimizer_transposer_test.cc142 mean, var, ops::FusedBatchNormV2::IsTraining(false).Epsilon(0.1f)); in CreateSimpleFusedBatchNorm()
272 .IsTraining(is_training) in CreateSimpleFusedBatchNormGrad()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_fused_batch_norm_op_test.cc245 attr = attr.IsTraining(is_training); in VerifyFusedBatchNorm()
376 bn_attr = bn_attr.IsTraining(true); in VerifyFusedBatchNormGradWithConv2D()
/external/tensorflow/tensorflow/core/kernels/
Dfused_batch_norm_ex_op_test.cc164 ops::FusedBatchNormV3::IsTraining(is_training) in RunFusedBatchNorm()
198 ops::FusedBatchNormGradV3::IsTraining(is_training) in RunFusedBatchNorm()
Dconv_ops_test.cc682 attr = attr.IsTraining(false); in RunConv2DWithBatchNorm()
712 attr = attr.IsTraining(false); in RunConv2DWithBatchNormAndActivation()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler_test.cc888 ops::FusedBatchNorm::IsTraining(true).Epsilon(0.1f)); in CreateGrapplerItemWithBatchNorm()
2225 ops::FusedBatchNorm::IsTraining(true).Epsilon(0.1f)); in CreateGrapplerItemWithInterDeviceTransfers()
Dop_level_cost_estimator.cc154 bool IsTraining(const OpInfo& op_info) { in IsTraining() function
2378 const bool is_training = IsTraining(op_info); in PredictFusedBatchNorm()