Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for text_format (0.53 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

    import os
    import re
    from typing import Mapping, Optional, Sequence
    
    from absl.testing import parameterized
    import numpy as np
    
    from google.protobuf import text_format
    from tensorflow.compiler.mlir.quantization.common.python import testing
    from tensorflow.compiler.mlir.quantization.stablehlo import quantization_config_pb2 as qc
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. 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)
  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. 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)
Back to top