Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for SignatureDef (0.34 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.cc

    using ::stablehlo::quantization::io::CreateTmpDir;
    using ::stablehlo::quantization::io::GetLocalTmpFileName;
    using ::stablehlo::quantization::io::ListDirectory;
    using ::tensorflow::AssetFileDef;
    using ::tensorflow::SignatureDef;
    using ::tensorflow::calibrator::CalibrationStatistics;
    using ::tensorflow::quantization::ExportedModel;
    using ::tensorflow::quantization::PyFunctionLibrary;
    using ::tensorflow::quantization::RunPasses;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/saved_model_api.h

      virtual Status GetFunctions(
          int node_id,
          absl::flat_hash_map<std::string, ConcreteFunction*>* functions) = 0;
    
      // Retrieve a SignatureDefFunction from a SavedModel, using the key of the
      // SignatureDef map:
      // https://github.com/tensorflow/tensorflow/blob/69b08900b1e991d84bce31f3b404f5ed768f339f/tensorflow/core/protobuf/meta_graph.proto#L89
      virtual Status GetSignatureDefFunction(const std::string& signature_def_key,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 04 17:05:58 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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/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)
  7. 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)
  8. tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function_revival_state.h

      // of the inputs and outputs of a function.
      // Note(bmzhao): saved_concrete_func_ is guaranteed to be non-null.
      const SavedConcreteFunction* saved_concrete_func = nullptr;
    
      // The name of the SignatureDef key.
      std::string signature_key;
    
      // TensorHandle captures for this funtion
      std::vector<ImmediateExecutionTensorHandle*> captures;
    };
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 04:49:47 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top