- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 67 for text_format (0.25 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/report.cc
using ::stablehlo::quantization::Method; using ::stablehlo::quantization::QuantizationResult; using ::stablehlo::quantization::QuantizationResults; using ::stablehlo::quantization::io::WriteStringToFile; using ::tsl::protobuf::TextFormat; // Given a `quantized_func_name` that starts with `kQuantizedFuncPrefix`, // converts `kQuantizedFuncPrefix` to `kCompositeFuncPrefix`. std::string GetCompositeFunctionName(const StringRef quantized_func_name) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
src/text/template/parse/parse_test.go
if err == nil || tmpl != nil { t.Errorf("without break func: expected error; got none") } } } func TestSkipFuncCheck(t *testing.T) { oldTextFormat := textFormat textFormat = "%q" defer func() { textFormat = oldTextFormat }() tr := New("skip func check") tr.Mode = SkipFuncCheck tmpl, err := tr.Parse("{{fn 1 2}}", "", "", make(map[string]*Tree)) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 24K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils_test.cc
cluster_func_op, /*num_replicas=*/1, /*num_cores_per_replica=*/1, {}, &compile_metadata))); tensorflow::tpu::TPUCompileMetadataProto expected_compile_metadata; ASSERT_TRUE(tsl::protobuf::TextFormat::ParseFromString( R"pb( num_replicas: 1 num_cores_per_replica: 1 )pb", &expected_compile_metadata)); EXPECT_THAT(compile_metadata, EqualsProto(expected_compile_metadata)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 12 04:22:33 UTC 2023 - 6.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/parse_text_proto.cc
} Status ParseTextProto(absl::string_view text_proto, absl::string_view prefix_to_strip, protobuf::Message* parsed_proto) { protobuf::TextFormat::Parser parser; // Don't produce errors when attempting to parse text format as it would fail // when the input is actually a binary file. NoOpErrorCollector collector; parser.RecordErrorsTo(&collector);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report_test.cc
namespace { using ::stablehlo::quantization::QuantizationResults; using ::stablehlo::quantization::io::ReadFileToString; using ::testing::SizeIs; using ::testing::StrEq; using ::tsl::protobuf::TextFormat; using ::tsl::testing::IsOk; using ::tsl::testing::StatusIs; using SaveQuantizationReportInstrumentationTest = QuantizationTestBase; TEST_F(SaveQuantizationReportInstrumentationTest, SaveReport) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 02:59:01 UTC 2024 - 9.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_concrete_function_test_protos.cc
} } dtype: DT_FLOAT } } } )"; StructuredValue ParseStructuredValue(absl::string_view text_proto) { StructuredValue value; CHECK(tensorflow::protobuf::TextFormat::ParseFromString(string(text_proto), &value)); return value; } } // namespace StructuredValue ZeroArgInputSignature() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 08 07:00:37 UTC 2020 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc
using ::stablehlo::quantization::FunctionNameMatcherSpec; using ::stablehlo::quantization::Method; using ::stablehlo::quantization::QuantizationSpec; using ::stablehlo::quantization::QuantizationSpecs; using ::tsl::protobuf::TextFormat; // TODO - b/303543789: Move the helper functions below to a separate util. // Fetches the default or null attribute, used for pattern matching. Attribute DefaultOrNullAttr(OpBuilder& builder, const Attribute& attr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/runlit.cfg.py
# pylint: disable=undefined-variable # Configuration file for the 'lit' test runner. # name: The name of this test suite. config.name = 'MLIR ' + os.path.basename(config.mlir_test_dir) config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell) # suffixes: A list of file extensions to treat as test files. config.suffixes = ['.cc', '.hlo', '.json', '.mlir', '.pbtxt', '.py']
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 18:52:19 UTC 2024 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_kernel_creator_test.cc
#include "tensorflow/core/public/version.h" namespace tensorflow { std::shared_ptr<NodeProperties> ToNodeProperties(const string& text) { NodeDef node_def; DataTypeVector dummy; EXPECT_TRUE(protobuf::TextFormat::MergeFromString(text, &node_def)); return std::make_shared<NodeProperties>(nullptr, std::move(node_def), dummy, dummy); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 16 01:39:55 UTC 2023 - 5.7K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils_test.cc
using ::tensorflow::proto_splitter::FieldIndex; using ::tensorflow::proto_splitter_testdata::ManyFields; using ::tensorflow::protobuf::Message; using ::tensorflow::protobuf::RepeatedPtrField; using ::tensorflow::protobuf::TextFormat; // NOLINTNEXTLINE: clang-tidy missing-includes false positive using ::tensorflow::protobuf::io::ArrayInputStream; // NOLINTNEXTLINE: clang-tidy missing-includes false positive
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 15.2K bytes - Viewed (0)