Home
last modified time | relevance | path

Searched refs:AsInt64Slice (Results 1 – 25 of 43) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dscatter_expander.cc183 AsInt64Slice(index->shape().dimensions())); in CheckIndexValidity()
279 AsInt64Slice(dim_numbers.inserted_window_dims()))); in ScatterLoopBody()
295 AsInt64Slice(update_slice_shape.dimensions()))); in ScatterLoopBody()
309 AsInt64Slice(operand->shape().dimensions()), in ScatterLoopBody()
310 AsInt64Slice(update_slice_with_dims_inserted->shape().dimensions()), in ScatterLoopBody()
388 updates, AsInt64Slice(dim_numbers.update_window_dims()))); in ExpandScatter()
Dindexed_array_analysis.cc691 /*operand_shape=*/AsInt64Slice(scalar_indexed->shape().dimensions()), in FoldReshapeOfGatherNoDegenerateDims()
692 /*result_shape=*/AsInt64Slice(shape.dimensions())); in FoldReshapeOfGatherNoDegenerateDims()
728 /*operand_shape=*/AsInt64Slice( in FoldReshapeOfGatherNoDegenerateDims()
774 /*operand_shape=*/AsInt64Slice( in FoldReshapeOfGatherNoDegenerateDims()
820 AsInt64Slice(shape.dimensions())))); in ComputeArrayForReshape()
1040 AsInt64Slice(dim_numbers.lhs_contracting_dimensions()), in ComputeArrayForDotWithIndexedLhs()
1041 /*batch_dims=*/AsInt64Slice(dim_numbers.lhs_batch_dimensions()))) { in ComputeArrayForDotWithIndexedLhs()
1075 AsInt64Slice(dim_numbers.rhs_contracting_dimensions()), in ComputeArrayForDotWithIndexedRhs()
1076 /*batch_dims=*/AsInt64Slice(dim_numbers.rhs_batch_dimensions()))) { in ComputeArrayForDotWithIndexedRhs()
Dgather_expander.cc207 AsInt64Slice(dim_numbers.collapsed_slice_dims()))); in GatherLoopBody()
368 AsInt64Slice(dim_numbers.offset_dims()), in ExpandInstruction()
Dconvolution_group_converter.cc171 S32, AsInt64Slice(expanded_filter_shape.dimensions())); in GetExpandedFilterMask()
193 PRED, AsInt64Slice(expanded_filter_shape.dimensions())); in GetExpandedFilterMask()
Dtriangular_solve_expander.cc105 auto shape_dims = AsInt64Slice(blocks_shape.dimensions()); in DiagonalBlocks()
248 return Reshape(inv_diag_blocks, AsInt64Slice(shape.dimensions())); in InvertDiagonalBlocks()
Dcholesky_expander.cc60 auto major_dims = AsInt64Slice(a_shape.dimensions()) in CholeskyUnblocked()
/external/tensorflow/tensorflow/stream_executor/
Ddnn.h76 inline absl::Span<const int64> AsInt64Slice( in AsInt64Slice() function
82 inline absl::Span<int64> AsInt64Slice( in AsInt64Slice() function
348 return AsInt64Slice(tensor_.dimensions()).subspan(2);
352 return AsInt64Slice(tensor_.mutable_dimensions()).subspan(2);
454 return AsInt64Slice(tensor_.dimensions()).subspan(2);
459 return AsInt64Slice(tensor_.mutable_dimensions()).subspan(2);
594 return AsInt64Slice(proto_.strides());
598 return AsInt64Slice(proto_.dilations());
602 return AsInt64Slice(proto_.paddings());
606 absl::Span<int64> strides() { return AsInt64Slice(proto_.mutable_strides()); }
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc727 AsInt64Slice(shape.dimensions()); in ValidateShapeSize()
975 permutation, AsInt64Slice(shape.layout().minor_to_major()))) { in PermuteDimensions()
1055 auto common_factors = CommonFactors(AsInt64Slice(input_shape.dimensions()), in DimensionsUnmodifiedByReshape()
1056 AsInt64Slice(output_shape.dimensions())); in DimensionsUnmodifiedByReshape()
1096 AsInt64Slice(output_shape.layout().minor_to_major())), in TransposeIsBitcast()
1227 input_shape.element_type(), AsInt64Slice(input_shape.dimensions())); in ReshapeIsBitcast()
1229 output_shape.element_type(), AsInt64Slice(output_shape.dimensions())); in ReshapeIsBitcast()
1400 output_shape.element_type(), AsInt64Slice(output_shape.dimensions()), in AlignLayouts()
Dlayout_util.cc334 return AsInt64Slice(shape.layout().minor_to_major()); in MinorToMajor()
340 return AsInt64Slice(layout.minor_to_major()); in MinorToMajor()
Dlayout.h41 return Tile(AsInt64Slice(tile_proto.dimensions())); in CreateFromProto()
Dutil.h148 static inline absl::Span<const int64> AsInt64Slice( in AsInt64Slice() function
157 static inline absl::Span<const int64> AsInt64Slice( in AsInt64Slice() function
Dliteral_util.h338 AsInt64Slice(layout.minor_to_major()))); in CreateR2WithLayout()
440 AsInt64Slice(layout.minor_to_major()))); in CreateFromArrayWithLayout()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dprng.cc126 return Reshape(result, AsInt64Slice(shape.dimensions())); in StatelessRngUniformU32()
151 return Reshape(result, AsInt64Slice(shape.dimensions())); in StatelessRngUniformU64()
Dsorting.cc31 ShapeUtil::MakeShape(S32, AsInt64Slice(input_shape.dimensions())); in TopK()
Dslicing.cc32 auto major_dims = AsInt64Slice(shape.dimensions()) in SliceInMinorDims()
118 auto major_dims = AsInt64Slice(shape.dimensions()) in DynamicSliceInMinorDims()
Dtesting.cc53 AsInt64Slice(shape.dimensions())); in BuildFakeDataOpOnDevice()
Dmatrix.cc61 AsInt64Slice(shape.dimensions()).subspan(/*pos=*/0, /*len=*/n_dims - 2); in GetMatrixDiagonal()
100 AsInt64Slice(shape.dimensions()).subspan(/*pos=*/0, /*len=*/n_dims - 2); in TriangleMask()
Dconstants.cc29 AsInt64Slice(shape.dimensions())); in Zeros()
/external/tensorflow/tensorflow/compiler/tf2xla/lib/
Dbroadcast.cc33 xla::AsInt64Slice(input_shape.dimensions()); in BroadcastTo()
Dutil.cc36 xla::AsInt64Slice(shape.dimensions())); in Zeros()
Dscatter.cc43 xla::AsInt64Slice(indices_shape.dimensions()); in XlaScatter()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_array.cc136 CommonFactors(AsInt64Slice(input_shape.dimensions()), in SourceIndexOfReshape()
137 AsInt64Slice(output_shape.dimensions())); in SourceIndexOfReshape()
148 .Linearize(AsInt64Slice(output_shape.dimensions()) in SourceIndexOfReshape()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstateful_random_ops.cc65 return std::make_pair(Reshape(result, xla::AsInt64Slice(shape.dimensions())), in StatefulRngUniformU32()
77 return std::make_pair(Reshape(result, xla::AsInt64Slice(shape.dimensions())), in StatefulRngUniformU64()
Dconv_op_helpers.cc141 filter, xla::AsInt64Slice(implicit_broadcast_filter_shape.dimensions())); in ReshapeFilterForDepthwiseConvolution()
162 xla::AsInt64Slice(filter_shape.dimensions())); in ContractFilterForDepthwiseBackprop()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_conv_rewriter.cc447 AsInt64Slice(dnums.kernel_spatial_dimensions()))); in MatchBackwardInput()
450 AsInt64Slice(dnums.kernel_spatial_dimensions()))); in MatchBackwardInput()

12