Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 67 of 67 for text_format (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/encoding/json/testdata/code.json.gz

    },{"name":"main.cc","kids":[],"cl_weight":0.00392156862745098,"touches":1,"min_t":1285863249,"max_t":1285863249,"mean_t":1285863249}],"cl_weight":2.100834122252632,"touches":5,"min_t":1285863249,"max_t":1301748385,"mean_t":1295577722},{"name":"text_format.cc","kids":[],"cl_weight":0.028647215558761104,"touches":4,"min_t":1285863249,"max_t":1301748385,"mean_t":1297743092},{"name":"unittest_custom_options.proto","kids":[],"cl_weight":0.028647215558761104,"touches":4,"min_t":1285863249,"max_t":1301...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 25 04:02:36 UTC 2016
    - 117.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
Back to top