Searched +refs:protobuf +refs:mode (Results 1 – 25 of 83) sorted by relevance
1234
31 package com.google.protobuf;33 import com.google.protobuf.MapFieldLite.MutatabilityAwareMap;78 private volatile StorageMode mode; field in MapField118 StorageMode mode, in MapField() argument122 this.mode = mode; in MapField()129 StorageMode mode, in MapField() argument131 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 …]
35 void RealMain(const string& mode, const string& path) { in RealMain() argument38 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()
44 from google.protobuf import text_format47 from tensorflow.core.protobuf import saver_pb248 from tensorflow.core.protobuf.meta_graph_pb2 import MetaGraphDef248 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:
23 from google.protobuf import text_format104 mode = "rb" if input_binary else "r"105 with gfile.GFile(input_graph, mode) as f:
41 export LD_LIBRARY_PATH=/tmp/protobuf/lib42 export LDFLAGS=-L/tmp/protobuf/lib62 mvn clean verify --batch-mode
40 namespace protobuf {67 static bool CreateDir(const string& name, int mode);70 static bool RecursivelyCreateDir(const string& path, int mode);
50 namespace protobuf { namespace53 #define mkdir(name, mode) mkdir(name) argument114 bool File::CreateDir(const string& name, int mode) { in CreateDir() argument115 return mkdir(name.c_str(), mode) == 0; in CreateDir()118 bool File::RecursivelyCreateDir(const string& path, int mode) { in RecursivelyCreateDir() argument119 if (CreateDir(path, mode)) return true; in RecursivelyCreateDir()130 return RecursivelyCreateDir(path.substr(0, slashpos), mode) && in RecursivelyCreateDir()131 CreateDir(path, mode); in RecursivelyCreateDir()
53 namespace protobuf { namespace56 #define mkdir(name, mode) mkdir(name) argument
32 For a complete example of a working trace config in long-tracing mode see49 # Compiles the textual protobuf into binary format 51 $ tools/ninja -C out/mac_release/ long_trace.cfg.protobuf59 > /tmp/long_trace.cfg.protobuf62 $ adb push out/mac_release/long_trace.cfg.protobuf /data/local/tmp/long_trace.cfg.protobuf67 $ 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 whether97 `trace_to_text` can be also used to convert the trace from the protobuf format
12 End-to-end tests, involving the protobuf-based IPC transport and ftrace17 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 probes83 service (`traced_probes`) are already running. In this mode the test enables87 **2. Standalone mode**:
130 if [[ "$CONFIG" == *.protobuf ]]; then168 tmux set-option -g mode-mouse on225 pull trace /tmp/trace.protobuf227 $OUT/trace_to_text text < /tmp/trace.protobuf > $TRACE.pbtext229 $OUT/trace_to_text systrace < /tmp/trace.protobuf > $TRACE.json
5 import "tensorflow/core/protobuf/tpu/optimization_parameters.proto";6 import "tensorflow/core/protobuf/tpu/tpu_embedding_output_layout.proto";33 Mode mode = 2; field65 // when mode=TRAINING. If mode=INFERENCE or BACKWARD_PASS_ONLY, this parameter90 // Extended output layout information; if not provided, a compatibility mode
28 from google.protobuf import json_format29 from google.protobuf import text_format58 build_config.mode = FLAGS.compilation_mode
META-INF/ META-INF/MANIFEST.MF org/ org/jetbrains/ org/ ...
28 from tensorflow.core.protobuf import config_pb240 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 …]
48 INCLUDEPRE_RE = re.compile(r"google::protobuf::internal::ExplicitlyConstructed|"49 … r"google::protobuf::internal::ArenaImpl::AllocateAligned|" # for contrib/data/_prefetching_ops50 … r"google::protobuf::internal::ArenaImpl::AddCleanup|" # for contrib/data/_prefetching_ops51 … r"google::protobuf::internal::LogMessage|" # for contrib/data/_prefetching_ops52 … r"google::protobuf::Arena::OnArenaAllocation|" # for contrib/data/_prefetching_ops82 r"protobuf::internal::ExplicitlyConstructed")105 tmpfile = tempfile.NamedTemporaryFile(mode="w", delete=False)
28 from tensorflow.core.protobuf import config_pb229 from tensorflow.core.protobuf import rewriter_config_pb2360 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 …]
4 …Build Status](https://travis-ci.org/google/protobuf.svg?branch=master)](https://travis-ci.org/goog…66 ../src/google/protobuf/descriptor.proto78 features compared with the official Java protobuf:250 The 'reftypes' mode has some additional cost due to autoboxing and usage255 The 'reftypes' mode is useful when you want to be able to serialize fields258 'accessors' mode.261 mode, serialization of the proto will cause a NullPointerException. This is358 \<protobuf-root\>java/target/protobuf-java-2.3.0-nano.jar.374 - cd external/protobuf387 "adb shell am instrument -w com.google.protobuf.nano.test/android.test.InstrumentationTestRunner"
3 " used in CONFIG mode")110 _protobuf_find_libraries(PROTOBUF protobuf)113 _protobuf_find_libraries(PROTOBUF_LITE protobuf-lite)
1 # -*- mode: python; -*- PYTHON-PREPROCESSING-REQUIRED123 default_runtime="//:protobuf",125 """Bazel rule to create a C++ protobuf library from proto source files237 """Bazel rule to create a Python protobuf library from proto source files289 """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
49 pkgconfig_DATA = protobuf.pc protobuf-lite.pc194 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 …]
21 from tensorflow.core.protobuf import config_pb2215 def _ModelFn(features, labels, mode): argument235 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)
45 #) 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*.
105 ENV MVN mvn --batch-mode108 git clone https://github.com/google/protobuf.git && \109 cd protobuf && \