Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for SignatureDef (0.33 sec)

  1. 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)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/pywrap_function_lib.cc

    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    
    namespace py = ::pybind11;
    
    namespace {
    
    using ::stablehlo::quantization::CalibrationOptions;
    using ::stablehlo::quantization::MinMaxValue;
    using ::tensorflow::SignatureDef;
    using ::tensorflow::calibrator::CalibrationStatistics;
    using ::tensorflow::quantization::ExportedModel;
    using ::tensorflow::quantization::PyFunctionLibrary;
    using ::tensorflow::quantization::RepresentativeDatasetFile;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:33:29 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/type_casters.h

        : public internal::SerializedProtobufCaster<
              ::stablehlo::quantization::CalibrationOptions> {};
    
    template <>
    struct type_caster<tensorflow::SignatureDef>
        : public internal::SerializedProtobufCaster<tensorflow::SignatureDef> {};
    
    template <>
    struct type_caster<tensorflow::GraphDef>
        : public internal::SerializedProtobufCaster<tensorflow::GraphDef> {};
    
    template <>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/constants.h

    inline constexpr char kSavedModelVariablesDirectory[] = "variables";
    
    // SavedModel variables filename.
    inline constexpr char kSavedModelVariablesFilename[] = "variables";
    
    // SavedModel SignatureDef keys for the initialization and train ops. Used in
    // V2 SavedModels.
    inline constexpr char kSavedModelInitOpSignatureKey[] = "__saved_model_init_op";
    inline constexpr char kSavedModelTrainOpSignatureKey[] =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 23:02:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.h

          absl::string_view src_saved_model_path,
          absl::flat_hash_map<FunctionName, FunctionAlias> function_aliases,
          std::unordered_set<std::string> tags,
          absl::flat_hash_map<std::string, tensorflow::SignatureDef>
              signature_def_map,
          std::vector<std::string> signature_keys);
    
      // Runs calibration on `module_op` and returns a calibrated ModuleOp with
      // calibrated statistics embedded.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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