Home
last modified time | relevance | path

Searched refs:GetTensorBatchDimIndex (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dpadding.cc52 const int32 batch_index = GetTensorBatchDimIndex(num_dims, data_format); in CheckValidPadding()
Dtensor_format.h173 inline int GetTensorBatchDimIndex(int num_dims, TensorFormat format) { in GetTensorBatchDimIndex() function
526 dim_sizes[GetTensorBatchDimIndex(dims, format)] = N; in ShapeFromFormat()
Dtensor_format_test.cc178 EXPECT_EQ(GetTensorBatchDimIndex(num_dims, format), tdm.n()); in RunDimensionIndexesTest()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dconv_op_helpers.cc106 int batch_dim = GetTensorBatchDimIndex(num_dims, attrs.data_format); in CheckConvAttrs()
210 int batch_dim = GetTensorBatchDimIndex(num_dims, attrs.data_format); in MakeXlaForwardConvOp()
300 int batch_dim = GetTensorBatchDimIndex(num_dims, attrs.data_format); in MakeXlaBackpropInputConvOp()
430 int n_dim = GetTensorBatchDimIndex(num_dims, attrs.data_format); in MakeXlaBackpropFilterConvOp()
Dextract_image_patches_op.cc61 int batch_dim = GetTensorBatchDimIndex(num_dims, data_format); in Compile()
Dpooling_ops.cc140 int batch_dimension = GetTensorBatchDimIndex(num_dims, data_format); in XlaTensorFormat()
/external/tensorflow/tensorflow/core/kernels/
Dconv_grad_shape_utils.cc114 int batch_dim = GetTensorBatchDimIndex(num_dims, data_format); in ConvBackpropComputeDimensionsV2()
/external/tensorflow/tensorflow/core/framework/
Dcommon_shape_fns.cc500 dims_actual[GetTensorBatchDimIndex(num_dims, format)] = context->MakeDim(N); in MakeShapeFromFormat()
526 *batch_dim = context->Dim(shape, GetTensorBatchDimIndex(rank, format)); in DimensionsFromShape()
552 out_dims[tensorflow::GetTensorBatchDimIndex(rank, format)] = batch_dim; in ShapeFromDimensions()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_a_m.cc1637 return_shape[GetTensorBatchDimIndex(num_dims, format)] = in inferConvReturnTypes()
1638 input_ty.getDimSize(GetTensorBatchDimIndex(num_dims, format)); in inferConvReturnTypes()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc1097 builder->getI64IntegerAttr(GetTensorBatchDimIndex(num_dims, format)); in GetConvDimensionNumbersAttr()
4231 tensorflow::GetTensorBatchDimIndex(num_dims, data_format); in matchAndRewrite()
4438 tensorflow::GetTensorBatchDimIndex(num_dims, data_format); in matchAndRewrite()