Home
last modified time | relevance | path

Searched refs:ConstantR0WithType (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dconstants_test.cc33 ConstantR0WithType(&builder, xla::S32, 4); in XLA_TEST_F()
39 ConstantR0WithType(&builder, xla::S32, 4.5); in XLA_TEST_F()
47 ConstantR0WithType(&builder, xla::F32, -7); in XLA_TEST_F()
49 ConstantR0WithType(&builder, xla::F32, 0.5); in XLA_TEST_F()
Dprng.cc131 auto const32 = ConstantR0WithType(builder, U64, 32); in Uint64ToUint32s()
141 ConstantR0WithType(builder, U64, 32)); in Uint32sToUint64()
180 ShiftRightLogical(dist, ConstantR0WithType(builder, unsigned_type, 1)); in StatelessRngUniformInt()
Dconstants.h34 XlaOp ConstantR0WithType(XlaBuilder* builder, PrimitiveType type, T value) { in ConstantR0WithType() function
89 return ConstantR0WithType(builder, shape.element_type(), value); in ScalarLike()
Dsvd_test.cc120 return ReduceAll(Abs(m1 - m2), ConstantR0WithType(builder, F32, 0), in GetAverageAbsoluteError()
122 ConstantR0WithType(builder, F32, size); in GetAverageAbsoluteError()
Dself_adjoint_eig_test.cc121 return ReduceAll(Abs(m1 - m2), ConstantR0WithType(builder, F32, 0), in GetAverageAbsoluteError()
123 ConstantR0WithType(builder, F32, size); in GetAverageAbsoluteError()
Dmath.cc116 ConstantR0WithType(&b, U64, uint64{1} << 63)); in IsNegZero()
119 ConstantR0WithType(&b, U32, uint32{1} << 31)); in IsNegZero()
126 ConstantR0WithType(&b, U32, uint32{1} << 31)); in IsNegZero()
Dloops.cc89 return Lt(values[0], ConstantR0WithType(cond_builder, num_iterations_type, in ForEachIndex()
Darithmetic.cc157 XlaOp shift_amount = ConstantR0WithType(builder, output_type, bits_in_type); in ArgMinMax()
Dpooling.cc121 auto divisor = ConstantR0WithType(pooled.builder(), dtype, window_size); in AvgPoolDivideByCount()
Dmatrix.cc58 auto offset = ConstantR0WithType(builder, S32, k); in GetMatrixDiagonal()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconstants_test.cc201 auto scalar1 = ConstantR0WithType(&b, F32, 1); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/
Dtriangular_solve_expander.cc332 auto start_index = ConstantR0WithType(builder, S32, j * block_size); in SolveWithInvertedDiagonalBlocks()