Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 97 for asSet (0.07 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td

      );
    
    
      let hasVerifier = 1;
    
      let hasCanonicalizer = 1;
    }
    
    def TfSavedModel_AssetOp: TfSavedModel_Op<"asset", [Symbol]> {
      let summary = "Represents an asset in saved model.";
      let description = [{
        Represents an asset in the saved model that points to an external file. It
        is a scalar string tensor and it is passed as an argument to the session
        initializer functions.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/exported_model.proto

      // exported to the saved model. This field is usually only populated for the
      // TF2 models.
      map<string, string> function_aliases = 6;
    
      // 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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 06:12:59 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_asset_v1.py

    # CHECK: "tf_saved_model.session_initializer"() <{initializers = [@[[init:.*]]]}> : () -> ()
    # CHECK: "tf_saved_model.asset"() <{filename = {{.*}}, sym_name = "[[asset1:__tf_saved_model_asset1_.*]]"}>
    # CHECK: "tf_saved_model.asset"() <{filename = {{.*}}, sym_name = "[[asset0:__tf_saved_model_asset0_.*]]"}>
    
    # CHECK:      func @[[init]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       *
       * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For
       * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty
       * ranges {@code [3..3)} and {@code [4..4)}.
       *
       * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a large
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

          objects->constants[i] = std::move(constant);
        } else if (node.kind_case() == SavedObject::kAsset) {
          std::unique_ptr<Asset> asset;
          TF_RETURN_IF_ERROR(
              LoadSavedAsset(context, node.asset(), directory, assets, &asset));
          objects->assets[i] = std::move(asset);
        } else if (node.kind_case() == SavedObject::kResource) {
          RestoredResourceRevivalState resource_revival_state;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/saved_model_utils.h

                             std::unique_ptr<Variable>* output);
    
    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(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 04:18:52 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops.mlir

    module attributes {tf_saved_model.semantics} {
    
      // CHECK: tf_saved_model.session_initializer
      "tf_saved_model.session_initializer"() {
        initializers = [@init]
      } : () -> ()
    
      // CHECK: tf_saved_model.asset
      "tf_saved_model.asset"() {
        filename = "asset_filename",
        sym_name = "asset_sym_name"
      } : () -> ()
    
      // Representation for constants: (immutable) global tensor.
      // CHECK: tf_saved_model.global_tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/DefaultClassPath.java

            }
    
            @Override
            public boolean contains(Object o) {
                return asSet.contains(o);
            }
    
            @Override
            public boolean containsAll(Collection<?> c) {
                return asSet.containsAll(c);
            }
    
            @Override
            public int size() {
                return size;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          * output_tensor is a float 2x2 matrix
        """
        # Creates and populates an asset file.
        asset_dir = self.create_tempdir('assets').full_path
        asset_file = os.path.join(asset_dir, 'vocab_file.txt')
        file_io.write_string_to_file(
            filename=asset_file, file_content='hello,model,quantization\n'
        )
    
        vocab_file = asset.Asset(asset_file)
    
        raw_vocab = io_ops.read_file(vocab_file)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.h

    // the value `checkpoint_path`.
    // Also adds SessionInitializer op.
    absl::Status AddSessionInitializerAndInlineCheckpoint(
        ModuleOp module, absl::string_view checkpoint_path);
    
    // Creates a pass that sinks SavedModel asset filenames to constants.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateAssetSinkingPass(
        llvm::StringRef saved_model_dir);
    
    }  // namespace tf_saved_model
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top