Home
last modified time | relevance | path

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

/third_party/boost/boost/numeric/ublas/
Dexpression_types.hpp124 class scalar_value: class
125 public scalar_expression<scalar_value<T> > {
127 typedef scalar_value<T> self_type;
139 scalar_value (): in scalar_value() function in boost::numeric::ublas::scalar_value
142 scalar_value (const value_type &t): in scalar_value() function in boost::numeric::ublas::scalar_value
152 scalar_value &operator = (const scalar_value &s) { in operator =()
158 scalar_value &operator = (const scalar_expression<AE> &ae) { in operator =()
165 bool same_closure (const scalar_value &sv) const { in same_closure()
/third_party/mindspore/mindspore/core/abstract/
Dprim_structures.cc114 ValuePtr scalar_value = args_spec_list[index]->cast<AbstractScalarPtr>()->BuildValue(); in InferImplMakeSlice() local
115 MS_EXCEPTION_IF_NULL(scalar_value); in InferImplMakeSlice()
116 if (scalar_value->isa<IntergerImm>()) { in InferImplMakeSlice()
118 } else if (scalar_value->isa<BoolImm>()) { in InferImplMakeSlice()
119 …ValuePtr scalar_index = MakeValue(static_cast<int64_t>(scalar_value->cast<BoolImmPtr>()->value())); in InferImplMakeSlice()
123 … << " the input scalar type should be int or bool, but got " << scalar_value->ToString(); in InferImplMakeSlice()
/third_party/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
/third_party/mindspore/mindspore/train/summary/
D_summary_adapter.py205 summary.scalar_value = np_value.item()
210 summary.scalar_value = next(np_value.flat).item()
/third_party/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
/third_party/boost/boost/numeric/ublas/detail/
Dconcepts.hpp1284 function_requires< ScalarExpressionConcept<scalar_value<T> > >(); in concept_checks()
1320 …typedef vector_binary_scalar2<vector<T>, scalar_value<T>, scalar_multiplies<T, T> > expression_mod… in concept_checks()
1327 …typedef vector_binary_scalar1<scalar_value<T>, vector<T>, scalar_multiplies<T, T> > expression_mod… in concept_checks()
1334 …typedef vector_binary_scalar2<vector<T>, scalar_value<T>, scalar_multiplies<T, T> > expression_mod… in concept_checks()
1403 …typedef matrix_binary_scalar1<scalar_value<T>, matrix<T>, scalar_multiplies<T, T> > expression_mod… in concept_checks()
1410 …typedef matrix_binary_scalar2<matrix<T>, scalar_value<T>, scalar_multiplies<T, T> > expression_mod… in concept_checks()
/third_party/mindspore/mindspore/ccsrc/utils/
Dsummary.proto96 float scalar_value = 3; field
/third_party/libsnd/Octave/
Dsndfile.cc165 sfinfo.samplerate = lrint (args (2).scalar_value ()) ;
/third_party/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()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c503 LLVMValueRef scalar_value[NIR_MAX_VEC_COMPONENTS]; in enter_waterfall() local
507 scalar_value[i] = ac_build_readlane(&ctx->ac, comp, NULL); in enter_waterfall()
509 … LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, comp, scalar_value[i], ""), ""); in enter_waterfall()
515 return ac_build_gather_values(&ctx->ac, scalar_value, ac_get_llvm_num_components(value)); in enter_waterfall()