Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcustom_call_test.cc91 /*operands=*/{Broadcast(ConstantR0WithType(&b, F32, 42.0), {128})}, in TEST_F()
144 Broadcast(ConstantR0WithType(&b, F32, 1), {128}), in TEST_F()
145 Broadcast(ConstantR0WithType(&b, F32, 2), {256}), in TEST_F()
149 Broadcast(ConstantR0WithType(&b, F32, 3), {1024}), in TEST_F()
150 Broadcast(ConstantR0WithType(&b, F32, 4), {8}), in TEST_F()
/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()
Dconstants.h34 XlaOp ConstantR0WithType(XlaBuilder* builder, PrimitiveType type, T value) { in ConstantR0WithType() function
95 return ConstantR0WithType(builder, shape.element_type(), value); in ScalarLike()
Dsvd_test.cc105 return ReduceAll(Abs(m1 - m2), ConstantR0WithType(builder, F32, 0), in GetAverageAbsoluteError()
107 ConstantR0WithType(builder, F32, size); in GetAverageAbsoluteError()
Dprng.cc124 XlaOp const32 = ConstantR0WithType(builder, U64, 32); in Uint64ToUint32s()
135 ConstantR0WithType(builder, U64, 32)); in Uint32sToUint64()
507 ShiftRightLogical(dist, ConstantR0WithType(builder, unsigned_type, 1)); in ConvertRandomBitsToUniformInt()
621 xla::ConstantR0WithType(builder, primitive_type, 0.0), in NormalFloatingPointDistribution()
622 xla::ConstantR0WithType(builder, primitive_type, 1.0), in NormalFloatingPointDistribution()
Dself_adjoint_eig_test.cc121 return ReduceAll(Abs(m1 - m2), ConstantR0WithType(builder, F32, 0), in GetAverageAbsoluteError()
123 ConstantR0WithType(builder, F32, size); in GetAverageAbsoluteError()
Dloops.cc89 return Lt(values[0], ConstantR0WithType(cond_builder, num_iterations_type, in ForEachIndex()
Dpooling.cc122 auto divisor = ConstantR0WithType(pooled.builder(), dtype, window_size); in AvgPoolDivideByCount()
Dmath.cc148 ConstantR0WithType(&b, U64, uint64{1} << 63)); in IsNegZero()
151 ConstantR0WithType(&b, U32, uint32{1} << 31)); in IsNegZero()
158 ConstantR0WithType(&b, U32, uint32{1} << 31)); in IsNegZero()
Dmatrix.cc68 auto b = Iota(builder, S32, m) + ConstantR0WithType(builder, S32, diagonal); in GetDiagonalMask()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstateless_random_ops.cc86 xla::XlaOp initial_state = xla::ConstantR0WithType(builder, xla::U64, 0); in StatelessRngUniform()
122 xla::XlaOp initial_state = xla::ConstantR0WithType(builder, xla::U64, 0); in StatelessRngUniformFullInt()
168 xla::ConstantR0WithType(builder, rng_primitive_type, 0.0), in Compile()
169 xla::ConstantR0WithType(builder, rng_primitive_type, 1.0)); in Compile()
305 xla::XlaOp initial_state = xla::ConstantR0WithType(builder, xla::U64, 0); in Compile()
Drandom_ops_util.cc30 (u64_seed1 << ConstantR0WithType(seed0.builder(), xla::U64, 32)); in GetU64FromS32Seeds()
Droll_op.cc73 xla::XlaOp axis_size = xla::ConstantR0WithType( in Compile()
Dstateful_random_ops.cc233 xla::ConstantR0WithType(builder, rng_primitive_type, 0.0), in Compile()
234 xla::ConstantR0WithType(builder, rng_primitive_type, 1.0)); in Compile()
414 delta = delta * ConstantR0WithType(delta.builder(), xla::U64, 256); in IncreaseCounter()
Dstateless_random_ops_v2.cc231 xla::ConstantR0WithType(builder, rng_primitive_type, 0.0), in Compile()
232 xla::ConstantR0WithType(builder, rng_primitive_type, 1.0)); in Compile()
Dstrided_slice_op.cc156 xla::ConstantR0WithType(ctx->builder(), ctx->InputXlaType("begin"), in EmitDynamicSlice()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconstants_test.cc201 auto scalar1 = ConstantR0WithType(&b, F32, 1); in TEST_F()