Home
last modified time | relevance | path

Searched refs:scalar_value (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dtensor.h192 explicit Tensor(float scalar_value) in Tensor() argument
193 : Tensor(scalar_value, host_scalar_tag{}) {} in Tensor()
194 explicit Tensor(double scalar_value) in Tensor() argument
195 : Tensor(scalar_value, host_scalar_tag{}) {} in Tensor()
196 explicit Tensor(int32 scalar_value) in Tensor() argument
197 : Tensor(scalar_value, host_scalar_tag{}) {} in Tensor()
198 explicit Tensor(uint32 scalar_value) in Tensor() argument
199 : Tensor(scalar_value, host_scalar_tag{}) {} in Tensor()
200 explicit Tensor(uint16 scalar_value) in Tensor() argument
201 : Tensor(scalar_value, host_scalar_tag{}) {} in Tensor()
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Datomic_optimizations_buffer.ll41 ; GCN: s_mul_i32 s[[scalar_value:[0-9]+]], s{{[0-9]+}}, s[[popcount]]
42 ; GCN: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
62 ; GFX8MORE32: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 31
63 ; GFX8MORE64: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 63
65 ; GFX89: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
66 ; GFX10: s_mov_b32 s[[copy_value:[0-9]+]], s[[scalar_value]]
88 ; GFX8MORE32: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 31
89 ; GFX8MORE64: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 63
91 ; GFX89: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
92 ; GFX10: s_mov_b32 s[[copy_value:[0-9]+]], s[[scalar_value]]
[all …]
Datomic_optimizations_raw_buffer.ll40 ; GCN: s_mul_i32 s[[scalar_value:[0-9]+]], s{{[0-9]+}}, s[[popcount]]
41 ; GCN: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
57 ; GFX8MORE32: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 31
58 ; GFX8MORE64: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 63
59 ; GFX89: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
60 ; GFX10: s_mov_b32 s[[copy_value:[0-9]+]], s[[scalar_value]]
111 ; GCN: s_mul_i32 s[[scalar_value:[0-9]+]], s{{[0-9]+}}, s[[popcount]]
112 ; GCN: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
128 ; GFX8MORE32: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 31
129 ; GFX8MORE64: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 63
[all …]
Datomic_optimizations_struct_buffer.ll40 ; GCN: s_mul_i32 s[[scalar_value:[0-9]+]], s{{[0-9]+}}, s[[popcount]]
41 ; GCN: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
57 ; GFX8MORE32: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 31
58 ; GFX8MORE64: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 63
59 ; GFX89: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
60 ; GFX10: s_mov_b32 s[[copy_value:[0-9]+]], s[[scalar_value]]
124 ; GCN: s_mul_i32 s[[scalar_value:[0-9]+]], s{{[0-9]+}}, s[[popcount]]
125 ; GCN: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
141 ; GFX8MORE32: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 31
142 ; GFX8MORE64: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 63
[all …]
Datomic_optimizations_global_pointer.ll38 ; GCN: s_mul_i32 s[[scalar_value:[0-9]+]], s{{[0-9]+}}, s[[popcount]]
39 ; GCN: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
55 ; GFX8MORE32: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 31
56 ; GFX8MORE64: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 63
57 ; GFX89: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
58 ; GFX10: s_mov_b32 s[[copy_value:[0-9]+]], s[[scalar_value]]
146 ; GCN: s_mul_i32 s[[scalar_value:[0-9]+]], s{{[0-9]+}}, s[[popcount]]
147 ; GCN: v_mov_b32{{(_e[0-9]+)?}} v[[value:[0-9]+]], s[[scalar_value]]
163 ; GFX8MORE32: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 31
164 ; GFX8MORE64: v_readlane_b32 s[[scalar_value:[0-9]+]], v{{[0-9]+}}, 63
[all …]
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/
Darithmetic-eval.cc68 const T scalar_value = value->Value<T>(); in Reduce() local
71 result += scalar_value; in Reduce()
75 result *= scalar_value; in Reduce()
79 result = std::min(result, scalar_value); in Reduce()
83 result = std::max(result, scalar_value); in Reduce()
/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py70 msg.factory_1_message.scalar_value = 22
78 msg.circular_message.scalar_value = 'one deep'
79 msg.scalar_value = 'zero deep'
Dfactory_test1.proto54 optional int32 scalar_value = 4; field
Dfactory_test2.proto62 optional string scalar_value = 10; field
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.h276 llvm::Constant* scalar_value = llvm::ConstantFP::get(type->getContext(), f); in GetConstantFloat() local
279 llvm::ElementCount::getFixed(vector_size()), scalar_value); in GetConstantFloat()
281 return scalar_value; in GetConstantFloat()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dstats_aggregator_ops.cc199 const float scalar_value) TF_EXCLUSIVE_LOCKS_REQUIRED(mu_) { in AddToEvents() argument
209 v->set_simple_value(scalar_value); in AddToEvents()
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVGroupOps.td61 %scalar_value = ... : f32
65 %0 = spv.GroupBroadcast "Subgroup" %scalar_value, %scalar_localid : f32, i32
DSPIRVNonUniformOps.td146 %scalar_value = ... : f32
149 %0 = spv.GroupNonUniformBroadcast "Subgroup" %scalar_value, %id : f32, i32
/external/protobuf/python/compatibility_tests/v2.5.0/protos/python/google/protobuf/internal/
Dfactory_test1.proto53 optional int32 scalar_value = 4; field
Dfactory_test2.proto61 optional string scalar_value = 10; field
/external/llvm-project/lldb/source/Target/
DStopInfo.cpp806 Scalar scalar_value; in PerformAction() local
807 if (result_value_sp->ResolveValue(scalar_value)) { in PerformAction()
808 if (scalar_value.ULongLong(1) == 0) { in PerformAction()
/external/googletest/googlemock/test/
Dgmock-actions_test.cc656 int scalar_value = 123; in TEST() local
657 EXPECT_TRUE(CanCallReturnRef(scalar_value)); in TEST()
671 auto scalar_value = []() -> int { return 123; }; in TEST() local
672 EXPECT_FALSE(CanCallReturnRef(scalar_value())); in TEST()
/external/llvm-project/lldb/source/Core/
DValueObject.cpp405 Scalar scalar_value; in IsLogicalTrue() local
407 if (!ResolveValue(scalar_value)) { in IsLogicalTrue()
413 ret = scalar_value.ULongLong(1) != 0; in IsLogicalTrue()
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c499 LLVMValueRef scalar_value = ac_build_readlane(&ctx->ac, value, NULL); in enter_waterfall() local
502 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, value, scalar_value, "uniform_active"); in enter_waterfall()
507 return scalar_value; in enter_waterfall()