Home
last modified time | relevance | path

Searched refs:dim_str (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/native/lang_id/common/
Dembedding-feature-extractor.cc57 for (const auto &dim_str : dim_strs) { in Setup() local
59 if (!LiteAtoi(dim_str, &dim)) { in Setup()
60 SAFTM_LOG(ERROR) << "Unable to parse " << dim_str; in Setup()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dmlir_roundtrip_flags.cc139 for (const absl::string_view dim_str : in ParseNodeShapes() local
142 if (dim_str.empty()) continue; in ParseNodeShapes()
143 if (dim_str == "?") { in ParseNodeShapes()
148 TF_RET_CHECK(absl::SimpleAtoi(dim_str, &size)); in ParseNodeShapes()
/external/OpenCL-CTS/test_conformance/thread_dimensions/
Dtest_thread_dimensions.cpp215 char dim_str[128]; variable
220 snprintf(dim_str, 128, "[%d]", (int)x); in print_dimensions()
222 snprintf(dim_str, 128, "[%d x %d]", (int)x, (int)y); in print_dimensions()
224 snprintf(dim_str, 128, "[%d x %d x %d]", (int)x, (int)y, (int)z); in print_dimensions()
226 snprintf(dim_str, 128, "INVALID DIM: %d", dim); in print_dimensions()
228 return dim_str; in print_dimensions()
/external/mesa3d/src/mapi/glapi/gen/
DglX_proto_send.py549 dim_str = "dim"
551 dim_str = str(dim)
574 …print(' __glFillImage(gc, %s, %s, %s, %s, %s, %s, %s, %s, %s);' % (dim_str, width, height, dept…
579 …glXSendLargeImage(gc, compsize, %s, %s, %s, %s, %s, %s, %s, %s, %s);' % (dim_str, width, height, d…
/external/tensorflow/tensorflow/lite/toco/
Dmodel_cmdline_flags.cc336 for (const auto& dim_str : absl::StrSplit(input_shapes[i], ',')) { in ReadModelFlagsFromCommandLineFlags() local
338 CHECK(absl::SimpleAtoi(dim_str, &size)) in ReadModelFlagsFromCommandLineFlags()
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator.cc239 bool CheckRepeatedDimensions(const absl::string_view dim_str) { in CheckRepeatedDimensions() argument
240 int str_size = dim_str.size(); in CheckRepeatedDimensions()
242 if (dim_str.find(dim_str[idx], idx + 1) != std::string::npos) { in CheckRepeatedDimensions()