Home
last modified time | relevance | path

Searched refs:variance_data (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_old_batch_norms_test.cc65 Tensor variance_data(DT_FLOAT, TensorShape({2})); in TestFoldOldBatchNorms() local
66 test::FillValues<float>(&variance_data, {0.25f, 0.5f}); in TestFoldOldBatchNorms()
68 Input::Initializer(variance_data)); in TestFoldOldBatchNorms()
149 Tensor variance_data(DT_FLOAT, TensorShape({4})); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() local
150 test::FillValues<float>(&variance_data, {0.25f, 0.5f, 0.75f, 1.0f}); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative()
152 Input::Initializer(variance_data)); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative()
227 Tensor variance_data(DT_FLOAT, TensorShape({2})); in TestFoldFusedBatchNorms() local
228 test::FillValues<float>(&variance_data, {0.25f, 0.5f}); in TestFoldFusedBatchNorms()
230 Input::Initializer(variance_data)); in TestFoldFusedBatchNorms()
304 Tensor variance_data(DT_FLOAT, TensorShape({4})); in TestFoldFusedBatchNormsAfterDepthwiseConv2dNative() local
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_test.cc548 const Tensor& mean_data, const Tensor& variance_data, Tensor* out)>;
669 const Tensor& mean_data, const Tensor& variance_data, in RunConv2DWithBatchNorm() argument
689 ops::Const(root.WithOpName("var"), Input::Initializer(variance_data)), in RunConv2DWithBatchNorm()
698 const Tensor& mean_data, const Tensor& variance_data, in RunConv2DWithBatchNormAndActivation() argument
719 ops::Const(root.WithOpName("var"), Input::Initializer(variance_data)), in RunConv2DWithBatchNormAndActivation()
945 const Tensor& mean_data, const Tensor& variance_data, Tensor* out) { in __anone7ca09510602() argument
947 offset_data, mean_data, variance_data, padding, in __anone7ca09510602()
955 const Tensor& mean_data, const Tensor& variance_data, Tensor* out) { in __anone7ca09510702() argument
957 {scale_data, offset_data, mean_data, variance_data}, in __anone7ca09510702()
978 const Tensor& mean_data, const Tensor& variance_data, Tensor* out) { in __anone7ca09510802() argument
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfused_batchnorm_reserve_space_test.cc107 Tensor variance_data(DT_FLOAT, TensorShape({0})); in TEST() local
109 Const(root.WithOpName("variance"), Input::Initializer(variance_data)); in TEST()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_fused_batch_norm_op.cc79 U* mean_data, U* variance_data, in Execute() argument
96 context_.variance_mem->set_data_handle(static_cast<void*>(variance_data), in Execute()
114 context_.variance_mem->set_data_handle(static_cast<void*>(variance_data)); in Execute()
421 void Execute(const T* src_data, const U* mean_data, const U* variance_data, in Execute() argument
432 static_cast<void*>(const_cast<U*>(variance_data)), *bwd_stream); in Execute()
451 static_cast<void*>(const_cast<U*>(variance_data))); in Execute()
880 auto variance_data = reinterpret_cast<U*>(saved_variance_data_tf); in Compute() local
890 static_cast<U>(adjust_factor) * variance_data[k]; in Compute()
900 variance_data[k]; in Compute()
905 std::memcpy(batch_variance_data, variance_data, depth_ * sizeof(U)); in Compute()
[all …]
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.h604 const DeviceMemory<float>& variance_data, double epsilon,
615 const DeviceMemory<float>& variance_data, double epsilon,
800 const DeviceMemory<U>& mean_data, const DeviceMemory<U>& variance_data,
Drocm_dnn.cc4731 const DeviceMemory<U>& mean_data, const DeviceMemory<U>& variance_data, in DoFusedBatchNormActivationInferenceImpl() argument
4766 variance_data.opaque(), epsilon); in DoFusedBatchNormActivationInferenceImpl()
4808 const DeviceMemory<float>& variance_data, double epsilon, in DoFusedBatchNormActivationInference() argument
4814 variance_data, epsilon, activation_mode, y_data, output_profile_result); in DoFusedBatchNormActivationInference()
4824 const DeviceMemory<float>& variance_data, double epsilon, in DoFusedBatchNormActivationInference() argument
4830 variance_data, epsilon, activation_mode, y_data, output_profile_result); in DoFusedBatchNormActivationInference()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dbatch_normalization_test.cc737 std::unique_ptr<GlobalData> variance_data = in XLA_TEST_P() local
752 variance_data.get()}, in XLA_TEST_P()
/external/tensorflow/tensorflow/stream_executor/
Ddnn.h2534 const DeviceMemory<float>& variance_data, double epsilon, in DoFusedBatchNormActivationInference() argument
2547 const DeviceMemory<float>& variance_data, double epsilon, in DoFusedBatchNormActivationInference() argument