Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for AssetFileDef (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/exported_model.proto

      // Holds information about the asset files used for the model. It essentially
      // associates asset file names with the tensors to which the asset file names
      // should be fed.
      repeated AssetFileDef asset_file_defs = 8;
    
      // SaverDef including the information required for saving and restoring
      // variables. This field is not set if there are no variables in the exported
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 06:12:59 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. 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;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

                          absl::Span<const AssetFileDef> assets,
                          std::unique_ptr<Asset>* output) {
      int asset_index = asset.asset_file_def_index();
      if (asset_index >= assets.size()) {
        return errors::FailedPrecondition(
            "SavedAsset contained asset index ", asset_index,
            " but AssetFileDef only contains ", assets.size(), " # of assets");
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/saved_model_utils.h

    Status LoadSavedAsset(ImmediateExecutionContext* ctx, const SavedAsset& asset,
                          const std::string& saved_model_dir,
                          absl::Span<const AssetFileDef> assets,
                          std::unique_ptr<Asset>* output);
    
    // Creates a TFConcreteFunction from a SavedConcreteFunction.
    Status LoadTFConcreteFunction(
        const SavedConcreteFunction& saved_concrete_function,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 04:18:52 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc

                        unfreeze_constants, checkpoint_dir,
                        /*debug_name=*/absl::StrCat(step_name, kExportStepSuffix)};
    
      TF_ASSIGN_OR_RETURN(const llvm::SmallVector<AssetFileDef> asset_file_defs,
                          RunExportPasses(export_opts, *ctx, module_op));
    
      return ConvertMlirModuleToExportedModel(
          module_op, checkpoint_dir, function_aliases,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt

          }
        }
      }
      collection_def {
        key: "saved_model_assets"
        value {
          any_list {
            value {
              type_url: "type.googleapis.com/tensorflow.AssetFileDef"
              value: "\n\t\n\007Const:0\022\007foo.txt"
            }
          }
        }
      }
      collection_def {
        key: "trainable_variables"
        value {
          bytes_list {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 01:10:27 UTC 2017
    - 46.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      bool unconditionally_use_set_output_shapes_ = false;
    };
    
    absl::StatusOr<std::vector<SavedModelSignatureDefImporterLite::AssetInfo>>
    SavedModelSignatureDefImporterLite::ConvertAssets() {
      std::vector<AssetFileDef> asset_file_defs;
      TF_RETURN_IF_ERROR(
          internal::GetAssetFileDefs(input_.meta_graph_def(), &asset_file_defs));
    
      std::vector<AssetInfo> results;
      results.reserve(asset_file_defs.size());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top