Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for asset_filename (0.13 sec)

  1. tensorflow/cc/saved_model/saved_model_bundle_test.cc

                          const SavedModelBundle& bundle) {
        const string asset_directory =
            io::JoinPath(export_dir, kSavedModelAssetsDirectory);
        const string asset_filename = "foo.txt";
        const string asset_filepath = io::JoinPath(asset_directory, asset_filename);
        TF_EXPECT_OK(Env::Default()->FileExists(asset_filepath));
    
        std::vector<Tensor> path_outputs;
        TF_ASSERT_OK(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

            "SavedAsset contained asset index ", asset_index,
            " but AssetFileDef only contains ", assets.size(), " # of assets");
      }
      const std::string& asset_filename = assets[asset_index].filename();
      return Asset::Create(ctx, saved_model_dir, asset_filename, output);
    }
    
    Status TensorProtoToConstant(ImmediateExecutionContext* ctx,
                                 const TensorProto& proto,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        for curr_dir, _, files in file_io.walk_v2(src_assets_path):
          for asset_file_name in files:
            src_asset_file = file_io.join(curr_dir, asset_file_name)
    
            # Construct the destination assets file path.
            curr_dst_dir = curr_dir.replace(src_assets_path, dst_assets_path)
            dst_asset_file = file_io.join(curr_dst_dir, asset_file_name)
    
            file_io.copy_v2(src_asset_file, dst_asset_file)
            logging.info(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top