Home
last modified time | relevance | path

Searched refs:input_tensor_shape (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Ddata_format_ops.cc108 const TensorShape input_tensor_shape = ctx->InputShape(0); in Compile() local
109 int input_rank = input_tensor_shape.dims(); in Compile()
113 input_tensor_shape.DebugString())); in Compile()
114 const int dim0 = input_tensor_shape.dim_size(0); in Compile()
120 input_tensor_shape.DebugString())); in Compile()
123 ctx, input_tensor_shape.dim_size(1) == 2, in Compile()
126 input_tensor_shape.DebugString())); in Compile()
Dconv_ops.cc106 TensorShape input_tensor_shape; in Compile() local
107 OP_REQUIRES_OK(ctx, ctx->ConstantInputAsShape(0, &input_tensor_shape)); in Compile()
109 TensorShapeToXLAShape(ctx->input_xla_type(1), input_tensor_shape); in Compile()
Dbatchtospace_op.cc25 DataType input_dtype, const TensorShape& input_tensor_shape, in BatchToSpace() argument
28 const int input_rank = input_tensor_shape.dims(); in BatchToSpace()
30 input_tensor_shape.dim_sizes(); in BatchToSpace()
Dspacetobatch_op.cc25 DataType input_dtype, const TensorShape& input_tensor_shape, in SpaceToBatch() argument
28 const int input_rank = input_tensor_shape.dims(); in SpaceToBatch()
30 input_tensor_shape.dim_sizes(); in SpaceToBatch()
Dconv_op_helpers.cc142 TensorShape input_tensor_shape, filter_tensor_shape, in ConvBackpropComputeDimensionsV2XlaShapes() local
144 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(input_shape, &input_tensor_shape)); in ConvBackpropComputeDimensionsV2XlaShapes()
149 label, num_spatial_dims, input_tensor_shape, filter_tensor_shape, in ConvBackpropComputeDimensionsV2XlaShapes()
407 TensorShape input_tensor_shape, filter_tensor_shape, output_tensor_shape; in MakeXlaBackpropFilterConvOp() local
409 TF_RETURN_IF_ERROR(XLAShapeToTensorShape(input_shape, &input_tensor_shape)); in MakeXlaBackpropFilterConvOp()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_maxpooling_op.cc72 TensorShape input_tensor_shape = input_tensor.shape(); in Compute() local
74 input_tensor_shape); in Compute()
111 input_tensor_shape, this->data_format_tf_), in Compute()
115 input_tensor_shape, this->data_format_tf_), in Compute()
Dmkl_pooling_ops_common.h501 const TensorShape& input_tensor_shape) { in InitMklPoolParameters() argument
504 this->data_format_tf_, input_tensor_shape); in InitMklPoolParameters()
613 TensorShape input_tensor_shape = input_tensor.shape(); in ConfigureInput() local
620 ? TFShapeToMklDnnDimsInNCHW(input_tensor_shape, in ConfigureInput()
622 : TFShapeToMklDnnDimsInNCDHW(input_tensor_shape, in ConfigureInput()
639 input_tensor_shape); in ConfigureInput()
Dmkl_avgpooling_op.cc67 TensorShape input_tensor_shape = input_tensor.shape(); in Compute() local
69 input_tensor_shape); in Compute()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instruction_test.cc1484 Shape input_tensor_shape = ShapeUtil::MakeShape(F32, {50, 49, 48, 47, 46}); in TEST_F() local
1492 HloInstruction::CreateParameter(0, input_tensor_shape, "input_tensor")); in TEST_F()
1520 Shape input_tensor_shape = ShapeUtil::MakeShape(F32, {50, 49, 48, 47, 46}); in TEST_F() local
1528 HloInstruction::CreateParameter(0, input_tensor_shape, "input_tensor")); in TEST_F()
1556 Shape input_tensor_shape = ShapeUtil::MakeShape(F32, {50, 49, 48, 47, 46}); in TEST_F() local
1564 HloInstruction::CreateParameter(0, input_tensor_shape, "input_tensor")); in TEST_F()
1584 input_tensor_shape, input, scatter_indices, scatter_updates, in TEST_F()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.h232 TensorShapeProto* input_tensor_shape,
Dconstant_folding.cc2745 TensorShapeProto* input_tensor_shape, TensorShapeProto* output_tensor_shape, in IsReductionCandidateForSimplification() argument
2759 *input_tensor_shape = input_props.shape(); in IsReductionCandidateForSimplification()
2761 for (int i = 0; i < input_tensor_shape->dim_size(); ++i) { in IsReductionCandidateForSimplification()
2762 if (input_tensor_shape->dim(i).size() < 0) { in IsReductionCandidateForSimplification()
2772 TensorShape(*input_tensor_shape).num_elements(); in IsReductionCandidateForSimplification()
2840 TensorShapeProto input_tensor_shape, output_tensor_shape; in SimplifyReduction() local
2842 *node, properties, &input_tensor_shape, &output_tensor_shape, in SimplifyReduction()
2868 *node, input_tensor_shape, keep_dims, reduction_indices_vector); in SimplifyReduction()
/external/tensorflow/tensorflow/python/keras/layers/
Dcore.py893 input_tensor_shape = tf_utils.convert_shapes(input_shape, to_tuples=False)
894 batch_size = nest.flatten(input_tensor_shape)[0][0] if input_shape else None
/external/tensorflow/tensorflow/compiler/xla/
Dxla_data.proto482 // for (k : [0, input_tensor_shape.rank))