- Sort Score
- Result 10 results
- Languages All
Results 51 - 57 of 57 for text_format (0.26 sec)
-
tensorflow/c/kernels_test.cc
list.ParseFromArray(buf->data, buf->length); \ KernelList expected_proto; \ protobuf::TextFormat::ParseFromString(ExpectedString(#dtype), \ &expected_proto); \ ASSERT_EQ(expected_proto.DebugString(), list.DebugString()); \
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 50.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
absl::Span<const std::string> extra_tf_opdefs) { for (const auto& tf_opdefs_string : extra_tf_opdefs) { OpDef opdef; // NOLINTNEXTLINE: Use tsl::protobuf to be compatible with OSS. if (!tsl::protobuf::TextFormat::ParseFromString(tf_opdefs_string, &opdef)) { LOG(ERROR) << "OpDef parsing failed for: " << tf_opdefs_string; return absl::InvalidArgumentError("fail to parse extra OpDef"); } // Register extra opdefs.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
uint64_t mlir_fingerprint = tensorflow::Fingerprint64(txt_module); metadata.set_mlir_fingerprint(mlir_fingerprint); std::string txt_metadata; if (tpu_compile_metadata_debug) { ::tensorflow::protobuf::TextFormat::Printer printer; printer.SetExpandAny(true); printer.PrintToString(metadata, &txt_metadata); } else { metadata.SerializeToString(&txt_metadata); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
" op: '__OP_NAME__'" " }" " ret {" " key: 'out'" " value: 'error_op:out'" " }"; tensorflow::FunctionDef def; CHECK(tensorflow::protobuf::TextFormat::ParseFromString( tensorflow::str_util::StringReplace(func_str, "__OP_NAME__", op_name, /*replace_all=*/true), &def)); return def.SerializeAsString(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
} cfg, _ := conversion.MessageToStruct(fc.AccessLog[0].GetTypedConfig()) textFormat := cfg.GetFields()["log_format"].GetStructValue().GetFields()["text_format_source"].GetStructValue(). GetFields()["inline_string"].GetStringValue() if format != "" && textFormat != format { t.Fatalf("expected format to be %s, but got %s", format, textFormat) } } func TestHttpProxyListener(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis_test.cc
} void VLogGraphIfAsked(const Graph& graph) { if (VLOG_IS_ON(3)) { GraphDef graph_def; graph.ToGraphDef(&graph_def); string serialized; ::tensorflow::protobuf::TextFormat::PrintToString(graph_def, &serialized); LOG(INFO) << serialized; } } struct InductionVarInfo { Output induction_var; Output loop_cond; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0) -
src/time/format_test.go
{"DayOfWeek", "Mon Monday", "Wed Wednesday"}, {"Hour", "15 3 03 _3", "21 9 09 _9"}, {"Minute", "4 04 _4", "0 00 _0"}, {"Second", "5 05 _5", "57 57 _57"}, } func TestFormat(t *testing.T) { // The numeric time represents Thu Feb 4 21:00:57.012345600 PST 2009 time := Unix(0, 1233810057012345600) for _, test := range formatTests { result := time.Format(test.format)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:58:29 UTC 2024 - 36.4K bytes - Viewed (0)