Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for signatureKey (0.45 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

            )
    
        self.assertIsNone(repr_dataset.get_num_samples(LenRaisingError()))
    
      @test_util.deprecated_graph_mode_only
      def test_create_feed_dict_from_input_data(self):
        signature_def = meta_graph_pb2.SignatureDef(
            inputs={'input_tensor': meta_graph_pb2.TensorInfo(name='input:0')}
        )
        rng = np.random.default_rng(seed=14)
    
        input_tensor_value = rng.random(size=(2, 2))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/experimental/public/function_metadata.h

    #include "tensorflow/c/experimental/saved_model/public/function_metadata.h"
    
    namespace tensorflow {
    namespace experimental {
    namespace cc {
    
    // FunctionMetadata stores additional function information, including
    // optional signaturedef feeds/fetches (for TF1-based ConcreteFunctions),
    // a valid function path (for TF2-based ConcreteFunctions), and
    // the types + number of inputs and outputs.
    class FunctionMetadata final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/signature_def_with_no_inputs.mlir

    // CHECK-NEXT:  } ],
    // CHECK-NEXT:  signature_defs: [ {
    // CHECK-NEXT:    inputs: [  ],
    // CHECK-NEXT:    outputs: [ {
    // CHECK-NEXT:      name: "start_logits"
    // CHECK-NEXT:    } ],
    // CHECK-NEXT:    signature_key: "serving_default"
    // CHECK-NEXT:  } ]
    // CHECK-NEXT: }
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 554 : i32}, tf_saved_model.semantics} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/experimental/public/signature_def_function.h

    // https://github.com/tensorflow/tensorflow/blob/8ce0600f58ed84a8c84a7bbdb014d1f09e44f4c8/tensorflow/python/saved_model/load_v1_in_v2_test.py#L170-L174
    // In both cases, a SignatureDef is serialized as a SignatureDef protobuf:
    // https://github.com/tensorflow/tensorflow/blob/8ce0600f58ed84a8c84a7bbdb014d1f09e44f4c8/tensorflow/core/protobuf/meta_graph.proto#L260-L330
    // and represents a computation defined by a TF subgraph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 17 23:03:48 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/weight_only_ptq.cc

    #include "tsl/platform/statusor.h"
    
    namespace mlir::quant::stablehlo {
    
    using ::stablehlo::quantization::GetReportFilePath;
    using ::stablehlo::quantization::QuantizationConfig;
    using ::tensorflow::SignatureDef;
    using ::tensorflow::quantization::ExportedModel;
    using ::tensorflow::quantization::PyFunctionLibrary;
    using ::tensorflow::quantization::RunPasses;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/fingerprinting_utils.cc

    absl::StatusOr<uint64_t> HashSignatureDef(
        const Map<std::string, ::tensorflow::SignatureDef>& signature_def_map,
        const ChunkedMessage& chunked_message,
        riegeli::RecordReader<riegeli::FdReader<>>& reader,
        const std::vector<ChunkInfo>& chunks_info) {
      uint64_t signature_def_hash = 0;
      std::vector<std::pair<std::string, ::tensorflow::SignatureDef>>
          signature_def_sorted(signature_def_map.begin(), signature_def_map.end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization.cc

            `dst_saved_model_path`.
    
            The user should pass a serialized `QuantizationConfig` for the
            `quantization_config_serialized` argument, and a signature key ->
            serialized `SignatureDef` mapping for the `signature_def_map_serialized`
            argument.
    
            Raises `StatusNotOk` exception if when the run was unsuccessful.
            )pbdoc",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 13:51:40 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/weight_only_ptq.h

    // weight-only quantization.
    //
    // `signature_keys` specify the signatures that correspond to functions to be
    // quantized. `signature_def_map` connects the signature keys to
    // `SignatureDef`s.
    //
    // Returns a non-OK status when the quantization is not successful.
    // LINT.IfChange
    absl::Status QuantizeWeightOnlyPtq(
        absl::string_view src_saved_model_path,
        absl::string_view dst_saved_model_path,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 12:18:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h

          const ExportedModel& exported_model,
          absl::string_view src_saved_model_path,
          const std::unordered_set<std::string>& tags,
          const absl::flat_hash_map<std::string, tensorflow::SignatureDef>&
              signature_def_map) const = 0;
      // LINT.ThenChange(
      //     pywrap_function_lib.pyi:save_exported_model,
      //     py_function_lib.py:save_exported_model,
      // )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/public/saved_model_api.h

        TF_SavedModel* model, const char* function_path, TF_Status* status);
    
    // Retrieve a function from the TF SavedModel via a SignatureDef key.
    //
    // Params:
    //  model - The SavedModel to load a function from.
    //  signature_def_key - The string key of the SignatureDef map of a SavedModel:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 04 00:45:47 UTC 2020
    - 5K bytes
    - Viewed (0)
Back to top