Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for SignatureDef (0.22 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

        Args:
          output_path: Path to the directory to save the created model.
          tags: Set of strings that identifies the saved meta graph.
          signature_def_key: Name of the SignatureDef. Used to identify the
            SignatureDef within the meta graph.
    
        Returns:
          inputs: A mapping of input_key -> input_tensor (placeholder). The input
            key is "input_vocabs".
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K 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/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)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/cc/saved_model/fingerprinting_utils.h

        const std::vector<::tensorflow::proto_splitter::ChunkInfo>& chunks_info);
    
    // Hashes the contents of `signature_def`.
    absl::StatusOr<uint64_t> HashSignatureDef(
        const Map<std::string, ::tensorflow::SignatureDef>& signature_def_map,
        const ::tensorflow::proto_splitter::ChunkedMessage& chunked_message,
        riegeli::RecordReader<riegeli::FdReader<>>& reader,
        const std::vector<::tensorflow::proto_splitter::ChunkInfo>& chunks_info);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top