Home
last modified time | relevance | path

Searched defs:x_shape (Results 1 – 25 of 25) sorted by relevance

/external/tensorflow/tensorflow/cc/gradients/
Darray_grad_test.cc35 void RunTest(const Output& x, const TensorShape& x_shape, const Output& y, in RunTest()
57 TensorShape x_shape({1, 2, 3}); in TEST_F() local
67 TensorShape x_shape({1, 2, 3}); in TEST_F() local
77 TensorShape x_shape({4, 2, 3}); in TEST_F() local
86 TensorShape x_shape({4, 2, 3}); in TEST_F() local
102 TensorShape x_shape({5, 2}); in TEST_F() local
112 TensorShape x_shape({}); in TEST_F() local
120 TensorShape x_shape({5, 2}); in TEST_F() local
128 TensorShape x_shape({5, 2, 5, 2}); in TEST_F() local
136 TensorShape x_shape({5, 2}); in TEST_F() local
[all …]
Dnn_grad_test.cc54 void RunTest(const Output& x, const TensorShape& x_shape, const Output& y, in RunTest()
211 TensorShape x_shape({5, 2}); in TEST_F() local
237 TensorShape x_shape({1, 2, 2, 1}); in TEST_F() local
250 TensorShape x_shape({1, 2, 2, 1}); in TEST_F() local
263 TensorShape x_shape({1, 3, 3, 3, 1}); in TEST_F() local
276 TensorShape x_shape({1, 2, 2, 1}); in TEST_F() local
287 TensorShape x_shape({1, 3, 3, 3, 1}); in TEST_F() local
298 TensorShape x_shape({1, 1, 2, 1}); in TEST_F() local
319 TensorShape x_shape({1, 3, 7, 1}); in TEST_F() local
331 TensorShape x_shape({1, 3, 7, 1}); in TEST_F() local
Dimage_grad_test.cc81 TensorShape x_shape({1, 2, 2, 1}); in TestResizedShapeForType() local
114 TensorShape x_shape({1, 4, 6, 1}); in TestResizeToSmallerAndAlign() local
129 TensorShape x_shape({1, 2, 3, 1}); in TestResizeToLargerAndAlign() local
211 void TestScaleAndTranslate(const TensorShape x_shape, const int out_height, in TestScaleAndTranslate()
326 TensorShape x_shape({1, 4, 2, 1}); in TestCropAndResize() local
Dmath_grad_test.cc580 TensorShape x_shape = shapes[0]; in TestMatMulGrad() local
609 TensorShape x_shape; in RandMatMulShapes() local
735 TensorShape x_shape({2, 3, 5, 7}); in TEST_F() local
744 TensorShape x_shape({2, 3, 5, 7}); in TEST_F() local
753 TensorShape x_shape({2, 3}); in TEST_F() local
764 TensorShape x_shape({2, 3}); in TEST_F() local
783 TensorShape x_shape({1}); in TEST_F() local
793 TensorShape x_shape({1}); in TEST_F() local
839 TensorShape x_shape({3, 2, 5}); in TEST_F() local
848 TensorShape x_shape({3, 2, 5}); in TEST_F() local
[all …]
Dimage_grad.cc38 auto x_shape = Slice(scope, Shape(scope, op.input(0)), {1}, {2}); in ResizeNearestNeighborGradHelper() local
/external/tensorflow/tensorflow/python/ops/
Dgradient_checker.py56 def _compute_theoretical_jacobian(x, x_shape, x_data, dy, dy_shape, dx, argument
134 def _compute_numeric_jacobian(x, x_shape, x_data, y, y_shape, delta, argument
211 x_shape, argument
245 x_shape, argument
271 x_shape, argument
343 x_shape, argument
Dnn_fused_batchnorm_test.py57 x_shape, argument
109 x_shape, argument
144 def _compute_gradient_error_float16(self, x, x32, x_shape, y, y32, y_shape): argument
182 x_shape, argument
242 x_shape, argument
Dimage_ops_test.py1522 x_shape, argument
1541 x_shape, argument
1847 x_shape, argument
1866 x_shape, argument
2654 x_shape, argument
2671 x_shape, argument
3171 def _assertResizeEqual(self, x, x_shape, y, y_shape, argument
3184 def _assertResizeCheckShape(self, x, x_shape, target_shape, argument
3271 x_shape, argument
3287 x_shape, argument
[all …]
Dnn_batchnorm_test.py303 def _testBatchNormArbitraryShapes(self, x_shape, param_shape, atol=0.0001, argument
373 def _testSuffStats(self, x_shape, axes, shift, keep_dims, has_shape): argument
Dnn_test.py133 def testGradient(self, x_shape): argument
220 def testGradient(self, x_shape): argument
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dreverse_op.cc37 const TensorShape x_shape = ctx->InputShape(0); in Compile() local
75 const TensorShape x_shape = ctx->InputShape(0); in Compile() local
/external/tensorflow/tensorflow/cc/framework/
Dgradient_checker_test.cc126 TensorShape x_shape({4, 3}); in TEST() local
142 TensorShape x_shape({5, 2}); in TEST() local
157 TensorShape x_shape({1, 2, 3}); in TEST() local
/external/tensorflow/tensorflow/core/kernels/
Dquantized_mul_op_test.cc38 void TestMul(const std::vector<int64>& x_shape, in TestMul()
87 void TestMulShape(const std::vector<int64>& x_shape, in TestMulShape()
137 void TimeMul(const std::vector<int64>& x_shape, in TimeMul()
Dquantized_add_op_test.cc38 void TestAdd(const std::vector<int64>& x_shape, in TestAdd()
87 void TestAddShape(const std::vector<int64>& x_shape, in TestAddShape()
137 void TimeAdd(const std::vector<int64>& x_shape, in TimeAdd()
Dbetainc_op.cc49 const TensorShape& x_shape = x.shape(); in Compute() local
/external/tensorflow/tensorflow/python/kernel_tests/
Datrous_convolution_test.py254 def _test_gradient(self, x_shape, f_shape, dilation_rate, padding): argument
Dsparse_tensor_dense_matmul_op_test.py283 def _sparse_tensor_dense_vs_dense_matmul_benchmark_sparse(x_ind, x_val, x_shape, argument
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/
Ddata_feeder.py48 def _get_in_out_shape(x_shape, y_shape, n_classes, batch_size=None): argument
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_nodes_test.cc248 std::vector<int64> x_shape({10, 100}); in TestQuantizeMul() local
283 std::vector<int64> x_shape({10, 100}); in TestQuantizeAdd() local
/external/tensorflow/tensorflow/core/ops/
Darray_grad_test.cc656 Tensor x_shape = test::AsTensor<int32>({2, 3, 4}, {3}); in TEST() local
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder_test.cc191 const auto& x_shape = ShapeUtil::MakeShape(S32, {2, 4, 6}); in TEST_F() local
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.cc1603 TensorShapeProto x_shape; in PredictAvgPoolGrad() local
/external/tensorflow/tensorflow/python/eager/
Dfunction_test.py219 def bar(x_shape): argument
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction_test.cc1547 auto x_shape = ops::Shape(s.WithOpName("grad0/Func/_1/x_shape"), grad0_z); in TEST_F() local
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc2695 const TensorShapeProto& x_shape = in SimplifyArithmeticOperations() local