Home
last modified time | relevance | path

Searched +refs:protobuf +refs:mode (Results 1 – 25 of 83) sorted by relevance

1234

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMapField.java31 package com.google.protobuf;
33 import com.google.protobuf.MapFieldLite.MutatabilityAwareMap;
78 private volatile StorageMode mode; field in MapField
118 StorageMode mode, in MapField() argument
122 this.mode = mode; in MapField()
129 StorageMode mode, in MapField() argument
131 this(new ImmutableMessageConverter<K, V>(defaultEntry), mode, mapData); in MapField()
179 if (mode == StorageMode.LIST) { in getMap()
181 if (mode == StorageMode.LIST) { in getMap()
183 mode = StorageMode.BOTH; in getMap()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tools/
Dconvert_computation.cc35 void RealMain(const string& mode, const string& path) { in RealMain() argument
38 if (mode == "txt2bin") { in RealMain()
41 } else if (mode == "bin2txt") { in RealMain()
44 tensorflow::protobuf::TextFormat::PrintToString(module, &out); in RealMain()
47 LOG(QFATAL) << "unknown mode for computation conversion: " << mode; in RealMain()
/external/tensorflow/tensorflow/python/tools/
Dfreeze_graph.py44 from google.protobuf import text_format
47 from tensorflow.core.protobuf import saver_pb2
48 from tensorflow.core.protobuf.meta_graph_pb2 import MetaGraphDef
248 mode = "rb" if input_binary else "r"
249 with gfile.GFile(input_graph, mode) as f:
263 mode = "rb" if input_binary else "r"
264 with gfile.GFile(input_graph, mode) as f:
278 mode = "rb" if input_binary else "r"
279 with gfile.GFile(input_saver, mode) as f:
Dstrip_unused_lib.py23 from google.protobuf import text_format
104 mode = "rb" if input_binary else "r"
105 with gfile.GFile(input_graph, mode) as f:
/external/grpc-grpc-java/buildscripts/kokoro/
Dunix.sh41 export LD_LIBRARY_PATH=/tmp/protobuf/lib
42 export LDFLAGS=-L/tmp/protobuf/lib
62 mvn clean verify --batch-mode
/external/protobuf/src/google/protobuf/testing/
Dfile.h40 namespace protobuf {
67 static bool CreateDir(const string& name, int mode);
70 static bool RecursivelyCreateDir(const string& path, int mode);
Dfile.cc50 namespace protobuf { namespace
53 #define mkdir(name, mode) mkdir(name) argument
114 bool File::CreateDir(const string& name, int mode) { in CreateDir() argument
115 return mkdir(name.c_str(), mode) == 0; in CreateDir()
118 bool File::RecursivelyCreateDir(const string& path, int mode) { in RecursivelyCreateDir() argument
119 if (CreateDir(path, mode)) return true; in RecursivelyCreateDir()
130 return RecursivelyCreateDir(path.substr(0, slashpos), mode) && in RecursivelyCreateDir()
131 CreateDir(path, mode); in RecursivelyCreateDir()
Dgoogletest.cc53 namespace protobuf { namespace
56 #define mkdir(name, mode) mkdir(name) argument
/external/perfetto/docs/
Dlong-traces.md32 For a complete example of a working trace config in long-tracing mode see
49 # Compiles the textual protobuf into binary format
51 $ tools/ninja -C out/mac_release/ long_trace.cfg.protobuf
59 > /tmp/long_trace.cfg.protobuf
62 $ adb push out/mac_release/long_trace.cfg.protobuf /data/local/tmp/long_trace.cfg.protobuf
67 $ adb shell 'cat /data/local/tmp/long_trace.cfg.protobuf | perfetto -c - -o /data/misc/perfetto-tra…
91 Use the `trace_to_text` binary in `summary` mode. This allows to detect whether
97 `trace_to_text` can be also used to convert the trace from the protobuf format
Dtesting.md12 End-to-end tests, involving the protobuf-based IPC transport and ftrace
17 and (iii) ftrace raw pipe -> protobuf translation.
81 **1. Production mode** (Android-only)
82 This mode assumes that both the tracing service (`traced`) and the OS probes
83 service (`traced_probes`) are already running. In this mode the test enables
87 **2. Standalone mode**:
/external/perfetto/tools/
Dtmux130 if [[ "$CONFIG" == *.protobuf ]]; then
168 tmux set-option -g mode-mouse on
225 pull trace /tmp/trace.protobuf
227 $OUT/trace_to_text text < /tmp/trace.protobuf > $TRACE.pbtext
229 $OUT/trace_to_text systrace < /tmp/trace.protobuf > $TRACE.json
/external/tensorflow/tensorflow/core/protobuf/tpu/
Dtpu_embedding_configuration.proto5 import "tensorflow/core/protobuf/tpu/optimization_parameters.proto";
6 import "tensorflow/core/protobuf/tpu/tpu_embedding_output_layout.proto";
33 Mode mode = 2; field
65 // when mode=TRAINING. If mode=INFERENCE or BACKWARD_PASS_ONLY, this parameter
90 // Extended output layout information; if not provided, a compatibility mode
/external/tensorflow/tensorflow/tools/test/
Drun_and_gather_logs.py28 from google.protobuf import json_format
29 from google.protobuf import text_format
58 build_config.mode = FLAGS.compilation_mode
/external/kotlinc/lib/
Dkotlin-imports-dumper-compiler-plugin.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jetbrains/ org/ ...
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Dmodel.py28 from tensorflow.core.protobuf import config_pb2
40 mode,
130 predictions_dict = gbdt_model.predict(mode)
133 logits = logits_modifier_function(logits, features, mode)
160 mode=mode,
169 mode=mode,
184 mode=mode,
198 mode,
274 if mode == learn.ModeKeys.TRAIN or mode == learn.ModeKeys.EVAL:
317 if mode == learn.ModeKeys.INFER:
[all …]
/external/tensorflow/tensorflow/tools/def_file_filter/
Ddef_file_filter.py.tpl48 INCLUDEPRE_RE = re.compile(r"google::protobuf::internal::ExplicitlyConstructed|"
49 … r"google::protobuf::internal::ArenaImpl::AllocateAligned|" # for contrib/data/_prefetching_ops
50 … r"google::protobuf::internal::ArenaImpl::AddCleanup|" # for contrib/data/_prefetching_ops
51 … r"google::protobuf::internal::LogMessage|" # for contrib/data/_prefetching_ops
52 … r"google::protobuf::Arena::OnArenaAllocation|" # for contrib/data/_prefetching_ops
82 r"protobuf::internal::ExplicitlyConstructed")
105 tmpfile = tempfile.NamedTemporaryFile(mode="w", delete=False)
/external/tensorflow/tensorflow/contrib/distribute/python/
Dcollective_all_reduce_strategy_test.py28 from tensorflow.core.protobuf import config_pb2
29 from tensorflow.core.protobuf import rewriter_config_pb2
360 combinations.combine(mode=['graph'], use_core_strategy=[True, False]))
375 mode=['graph'],
388 mode=['graph'],
403 mode=['graph'],
420 mode=['graph'],
456 combinations.combine(mode=['graph'], use_core_strategy=[True, False]))
484 @combinations.generate(combinations.combine(mode=['eager']))
513 combinations.combine(mode=['graph'], num_gpus=[0, 1, 2], required_gpus=1))
[all …]
/external/protobuf/javanano/
DREADME.md4 …Build Status](https://travis-ci.org/google/protobuf.svg?branch=master)](https://travis-ci.org/goog…
66 ../src/google/protobuf/descriptor.proto
78 features compared with the official Java protobuf:
250 The 'reftypes' mode has some additional cost due to autoboxing and usage
255 The 'reftypes' mode is useful when you want to be able to serialize fields
258 'accessors' mode.
261 mode, serialization of the proto will cause a NullPointerException. This is
358 \<protobuf-root\>java/target/protobuf-java-2.3.0-nano.jar.
374 - cd external/protobuf
387 "adb shell am instrument -w com.google.protobuf.nano.test/android.test.InstrumentationTestRunner"
/external/protobuf/cmake/
Dprotobuf-module.cmake.in3 " used in CONFIG mode")
110 _protobuf_find_libraries(PROTOBUF protobuf)
113 _protobuf_find_libraries(PROTOBUF_LITE protobuf-lite)
/external/protobuf/
Dprotobuf.bzl1 # -*- mode: python; -*- PYTHON-PREPROCESSING-REQUIRED
123 default_runtime="//:protobuf",
125 """Bazel rule to create a C++ protobuf library from proto source files
237 """Bazel rule to create a Python protobuf library from proto source files
289 """Bazel rules to create batch tests for protobuf internal.
294 each of the parameter with the source "google/protobuf/%s.py"
299 s = "python/google/protobuf/internal/%s.py" % m
DMakefile.am49 pkgconfig_DATA = protobuf.pc protobuf-lite.pc
194 java/core/src/main/java/com/google/protobuf/AbstractMessage.java \
195 java/core/src/main/java/com/google/protobuf/AbstractMessageLite.java \
196 java/core/src/main/java/com/google/protobuf/AbstractParser.java \
197 java/core/src/main/java/com/google/protobuf/AbstractProtobufList.java \
198 java/core/src/main/java/com/google/protobuf/BlockingRpcChannel.java \
199 java/core/src/main/java/com/google/protobuf/BlockingService.java \
200 java/core/src/main/java/com/google/protobuf/BooleanArrayList.java \
201 java/core/src/main/java/com/google/protobuf/ByteBufferWriter.java \
202 java/core/src/main/java/com/google/protobuf/ByteOutput.java \
[all …]
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dquantization_mnist_test.py21 from tensorflow.core.protobuf import config_pb2
215 def _ModelFn(features, labels, mode): argument
235 if mode == ModeKeys.EVAL:
237 mode, loss=loss, eval_metric_ops={'accuracy': accuracy})
238 elif mode == ModeKeys.TRAIN:
241 return EstimatorSpec(mode, loss=loss, train_op=train_op)
/external/grpc-grpc/third_party/nanopb/docs/
Dindex.rst45 #) Support for most protobuf features, including: all data types, nested submessages, default value…
58 #) Cyclic references between messages are supported only in callback and malloc mode.
125 Debian-based systems, install the following packages: *protobuf-compiler*,
126 *python-protobuf* and *libprotobuf-dev*.
/external/nanopb-c/docs/
Dindex.rst45 #) Support for most protobuf features, including: all data types, nested submessages, default value…
58 #) Cyclic references between messages are supported only in callback and malloc mode.
125 Debian-based systems, install the following packages: *protobuf-compiler*,
126 *python-protobuf* and *libprotobuf-dev*.
/external/protobuf/jenkins/docker/
DDockerfile105 ENV MVN mvn --batch-mode
108 git clone https://github.com/google/protobuf.git && \
109 cd protobuf && \

1234