Home
last modified time | relevance | path

Searched refs:constant_name (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/tools/compatibility/update/
Dgenerate_v2_renames_map.py109 constants_v1 = {constant_name: api_names
110 for api_names, constant_name in constants_v1_list}
111 constants_v2 = {constant_name: api_names
112 for api_names, constant_name in constants_v2_list}
114 for constant_name, api_names_v1 in constants_v1.items():
115 api_names_v2 = constants_v2[constant_name]
/external/tensorflow/tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt/
Dget_global_to_arg.mlir32 // CHECK-SAME: %[[ARG0:.*]]: memref<24xi8> {lmhlo.constant_name = "cst0"},
33 // CHECK-SAME: %[[ARG1:.*]]: memref<4xi8> {lmhlo.constant_name = "cst1"},
34 // CHECK-SAME: %[[ARG2:.*]]: memref<24xi8> {lmhlo.constant_name = "cst2"}
36 func.func @get_global(%arg0: memref<24xi8> {lmhlo.constant_name = "cst0"},
37 %arg1: memref<4xi8> {lmhlo.constant_name = "cst1"},
38 %arg2: memref<24xi8> {lmhlo.constant_name = "cst2"})
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_enum.cc92 const std::string constant_name = in Generate() local
97 "name", constant_name); in Generate()
99 printer->Print("$name$,\n", "name", constant_name); in Generate()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emission_utils.cc559 std::string* constant_name) { in GetAllocationIndex() argument
562 if (constant_name) { in GetAllocationIndex()
565 *constant_name = constant_name_attr.getValue().str(); in GetAllocationIndex()
573 std::string* constant_name) { in GetAllocationSlice() argument
574 if (constant_name) { in GetAllocationSlice()
575 constant_name->clear(); in GetAllocationSlice()
594 view.getSource().cast<mlir::BlockArgument>(), constant_name)], in GetAllocationSlice()
605 if (constant_name) { in GetAllocationSlice()
606 *constant_name = get_global.getName().str(); in GetAllocationSlice()
617 &allocations[GetAllocationIndex(arg, constant_name)], 0, size); in GetAllocationSlice()
Dir_emission_utils.h168 std::string* constant_name = nullptr);
Dir_emitter_unnested.h44 std::string constant_name; member
355 mlir::Value v, std::string* constant_name = nullptr);
Dir_emitter_unnested.cc558 mlir::Value v, std::string* constant_name) { in GetAllocationSlice() argument
560 constant_name); in GetAllocationSlice()
1638 GetAllocationSlice(operand, &slice.constant_name)); in EmitLaunchFunc()
3043 if (!slice.constant_name.empty()) { in BuildKernelThunkImpl()
3044 loc = module_->getGlobalVariable(slice.constant_name); in BuildKernelThunkImpl()
3046 << "Could not find variable '" << slice.constant_name << "'"; in BuildKernelThunkImpl()
3084 GetAllocationSlice(operand, &slice.constant_name)); in BuildKernelThunk()
3107 GetAllocationSlice(operand, &slice.constant_name)); in BuildKernelThunk()
3115 GetAllocationSlice(output, &slice.constant_name)); in BuildKernelThunk()
/external/cronet/build/android/gyp/
Djava_google_api_keys.py52 for constant_name, constant_value in constant_definitions.items():
54 'NAME': constant_name,
/external/angle/build/android/gyp/
Djava_google_api_keys.py52 for constant_name, constant_value in constant_definitions.items():
54 'NAME': constant_name,
/external/python/cpython2/Modules/_sqlite/
Dmodule.c255 char* constant_name; member
404 for (i = 0; _int_constants[i].constant_name != 0; i++) { in init_sqlite3()
409 PyDict_SetItemString(dict, _int_constants[i].constant_name, tmp_obj); in init_sqlite3()
/external/webrtc/system_wrappers/include/
Dmetrics.h193 #define RTC_HISTOGRAM_COMMON_BLOCK(constant_name, sample, \ argument
328 #define RTC_HISTOGRAM_COMMON_BLOCK(constant_name, sample, \ argument
330 webrtc::metrics_impl::NoOp(constant_name, sample, factory_get_invocation)
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/python/
Dpython_pyi_generator.cc276 std::string constant_name = extension_field->name() + "_FIELD_NUMBER"; in AddExtensions() local
277 ToUpper(&constant_name); in AddExtensions()
278 (*item_map)[constant_name] = "ClassVar[int]"; in AddExtensions()
/external/protobuf/src/google/protobuf/compiler/python/
Dpyi_generator.cc325 std::string constant_name = extension_field->name() + "_FIELD_NUMBER"; in AddExtensions() local
326 ToUpper(&constant_name); in AddExtensions()
327 (*item_map)[constant_name] = "_ClassVar[int]"; in AddExtensions()
/external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/lmhlo_to_gpu/
Djitrt_passes.td24 arguments (arguments marked with `lmhlo.constant_name` attribute) to use
/external/cronet/third_party/protobuf/python/google/protobuf/internal/
Dpython_message.py608 constant_name = field.name.upper() + '_FIELD_NUMBER'
609 setattr(cls, constant_name, field.number)
778 constant_name = extension_name.upper() + '_FIELD_NUMBER'
779 setattr(cls, constant_name, extension_field.number)
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py608 constant_name = field.name.upper() + '_FIELD_NUMBER'
609 setattr(cls, constant_name, field.number)
778 constant_name = extension_name.upper() + '_FIELD_NUMBER'
779 setattr(cls, constant_name, extension_field.number)
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_graph_dumper.cc899 std::string constant_name; in GetInstructionNodeInlinedOperands() local
901 constant_name = constant->name(); in GetInstructionNodeInlinedOperands()
903 constant_name = StrCat("constant ", constant->name()); in GetInstructionNodeInlinedOperands()
905 return StrFormat("%s %s", constant_name, ShapeUtil::HumanString(shape)); in GetInstructionNodeInlinedOperands()
Dhlo.proto736 // Represents an lmhlo.constant_name function argument attribute.
/external/rust/crates/bindgen/codegen/
Dmod.rs2883 let constant_name = match mangling_prefix { in with_variant() localVariable
2890 let ident = ctx.rust_ident(constant_name); in with_variant()
3174 let constant_name = if enum_.name().is_some() { in codegen() localVariable
3183 let constant_name = ctx.rust_ident(constant_name); in codegen() localVariable
3186 pub const #constant_name : #enum_rust_ty = in codegen()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.cc1081 std::string constant_name = xla::llvm_ir::ConstantNameToGlobalName( in EmitConstant() local
1089 loc, constant_name, builder_.getStringAttr("private"), memref_type, in EmitConstant()
1112 builder_.create<memref::GetGlobalOp>(loc, memref_type, constant_name); in EmitConstant()