Home
last modified time | relevance | path

Searched refs:dimension_number (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc512 int64 dimension_number) { in GetDimension() argument
513 return shape.dimensions(GetDimensionNumber(shape, dimension_number)); in GetDimension()
517 int64 dimension_number) { in GetDimensionNumber() argument
518 if (dimension_number < 0) { in GetDimensionNumber()
519 dimension_number += shape.rank(); in GetDimensionNumber()
521 CHECK_GE(dimension_number, 0); in GetDimensionNumber()
522 return dimension_number; in GetDimensionNumber()
Dlayout_util.cc61 for (int64 dimension_number : minor_to_major) { in MakeLayout() local
62 layout.add_minor_to_major(dimension_number); in MakeLayout()
Dshape_util.h324 static int64 GetDimension(const Shape& shape, int64 dimension_number);
334 static int64 GetDimensionNumber(const Shape& shape, int64 dimension_number);
/external/tensorflow/tensorflow/compiler/xla/service/
Dshape_inference.cc379 for (int64 dimension_number = 0; dimension_number < arg_shape->rank(); in InferConcatOpShape() local
380 ++dimension_number) { in InferConcatOpShape()
381 if (arg_shape->dimensions(dimension_number) != in InferConcatOpShape()
382 shape->dimensions(dimension_number)) { in InferConcatOpShape()
383 if (dimension_number == dimension) { in InferConcatOpShape()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc215 int64 dimension_number = instr.dimensions(0); in IsConstantVisitor() local
219 if (operand_shape.is_dynamic_dimension(dimension_number)) { in IsConstantVisitor()
Dxla_builder.h779 const DotDimensionNumbers& dimension_number,