Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 64 for signatureKey (0.23 sec)

  1. tensorflow/cc/saved_model/util.h

    // inputs. If `is_alias` is set to true, the keys of the `request_inputs` are
    // alias names rather than the feed names in the graph.
    Status GetInputValues(
        const SignatureDef& signature,
        const ::google::protobuf::Map<std::string, ::tensorflow::TensorProto>& request_inputs,
        std::vector<std::pair<string, Tensor>>& inputs);
    
    }  // namespace saved_model
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 31 23:00:51 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/util.cc

      std::set<std::string> keys;
      for (const auto& it : map) {
        keys.insert(it.first);
      }
      return keys;
    }
    
    Status GetInputValues(
        const SignatureDef& signature,
        const ::google::protobuf::Map<std::string, ::tensorflow::TensorProto>& request_inputs,
        std::vector<std::pair<string, Tensor>>& inputs) {
      const TensorProto* tensor_proto;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 10 10:25:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.h

        const std::vector<std::string>& signature_keys,
        const std::unordered_set<std::string>& tags,
        const QuantizationOptions& quantization_options,
        const absl::flat_hash_map<std::string, SignatureDef>& signature_def_map,
        const PyFunctionLibrary& py_function_library,
        const absl::flat_hash_map<std::string, RepresentativeDatasetFile>&
            representative_dataset_file_map_serialized);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 15:31:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

    }
    
    // This corresponds to SignatureDef in Tensorflow SavedModel.
    // The SignatureDef will be part of the SavedModel provided for conversion.
    table SignatureDef {
      // Named inputs for this signature.
      inputs:[TensorMap];
    
      // Named outputs for this signature.
      outputs:[TensorMap];
    
      // Key value which was in the Tensorflow SavedModel SignatureDef map.
      signature_key:string;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/fingerprinting_utils_test.cc

      std::vector<ChunkInfo> chunks_info = std::vector<ChunkInfo>(
          chunk_metadata.chunks().begin(), chunk_metadata.chunks().end());
    
      ::tensorflow::protobuf::Map<std::string, SignatureDef> signature_def_map;
      SignatureDef signature_def;
      EXPECT_THAT(HashSignatureDef(signature_def_map, chunk_metadata.message(),
                                   reader, chunks_info),
                  IsOkAndHolds(0));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto

      oneof file {
        // Represents representative dataset saved as a .tfrecord file format.
        TfRecordFile tf_record = 1;
      }
    
      // [TF SavedModel] Identifies a SignatureDef which represents a single
      // logical function in a graph.
      optional string signature_key = 2;
    }
    
    // Preset config for static-range post-training quantization (PTQ).
    //
    // Minimal user input about representative datasets is required. Representative
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/loader_util.cc

    #include "tensorflow/core/platform/protobuf_internal.h"
    
    namespace tensorflow {
    namespace internal {
    
    // A SavedModel may store the name of the initialization op to run in the
    // in the SignatureDef (v2) or a collection (v1). If an init_op collection
    // exists, then the collection must contain exactly one op.
    Status GetInitOp(const string& export_dir, const MetaGraphDef& meta_graph_def,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 10 10:25:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. tensorflow/cc/saved_model/fingerprinting.cc

      }
      return tensorflow::Fingerprint64(saved_model_serialized);
    }
    
    uint64_t RegularizeAndHashSignatureDefs(
        const Map<std::string, SignatureDef>& signature_def_map) {
      // Sort `signature_def_map`, which is an unordered map from string keys to
      // SignatureDefs.
      absl::btree_map<std::string, SignatureDef> sorted_signature_defs;
      sorted_signature_defs.insert(signature_def_map.begin(),
                                   signature_def_map.end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 00:24:44 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/schema.fbs

    }
    
    // This corresponds to SignatureDef in Tensorflow SavedModel.
    // The SignatureDef will be part of the SavedModel provided for conversion.
    table SignatureDef {
      // Named inputs for this signature.
      inputs:[TensorMap];
    
      // Named outputs for this signature.
      outputs:[TensorMap];
    
      // Key value which was in the Tensorflow SavedModel SignatureDef map.
      signature_key:string;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import.h

    // Loads a SavedModel at `saved_model_path` and converts it to `mlir::ModuleOp`.
    //
    // `tags` identify the `tensorflow::MetaGraphDef` to load from the SavedModel.
    // Similarly, `signature_keys` identify the functions (`SignatureDef`s) to load
    // within the `MetaGraphDef`. `ctx` is the `MLIRContext`, which should outlive
    // the returned `ModuleOp`, thus marked with the lifetime bound attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top