Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,479 for asset (0.05 sec)

  1. 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)
  2. guava-tests/test/com/google/common/base/OptionalTest.java

        Set<String> expected = Collections.singleton("a");
        assertEquals(expected, Optional.of("a").asSet());
      }
    
      public void testAsSet_absent() {
        assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty());
      }
    
      public void testAsSet_presentIsImmutable() {
        Set<String> presentAsSet = Optional.of("a").asSet();
        try {
          presentAsSet.add("b");
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir

      "tf_saved_model.session_initializer"() {initializers = [@legacy_init_op]} : () -> ()
      "tf_saved_model.asset"() {filename = "assets/foo.txt", sym_name = "asset"} : () -> ()
      // CHECK: @legacy_init_op
      func.func @legacy_init_op(%arg0: tensor<!tf_type.string> {tf_saved_model.bound_input = @asset}) attributes {tf_saved_model.exported_names = ["f"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        public static Test suite() {
          TestSuite suite = new TestSuite();
    
          suite.addTest(
              NavigableSetTestSuiteBuilder.using(new ContiguousSetGenerator())
                  .named("Range.asSet")
                  .withFeatures(
                      CollectionSize.ANY,
                      KNOWN_ORDER,
                      ALLOWS_NULL_QUERIES,
                      NON_STANDARD_TOSTRING,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.h

    // Sets up and runs the passes for exporting `module_op`. The behavior of the
    // exporting passes is controlled by `export_opts`. Returns `AssetFileDef`s that
    // associate the input arguments of @main and the asset file names. Asset file
    // names will be used to feed the corresponding tensors during initialization
    // upon model loading.
    // TODO: b/329206105 - Add unit tests after decomposing post processing passes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

        function_aliases: Function name -> function alias mapping.
        asset_file_defs: `AssetFileDef`s that associates the asset files and the
          name of the tensors to which the asset file names should be fed. The
          caller should make sure the asset files exist in the output saved model
          directory.
    
      Raises:
        ValueError iff the graph does not contain a valid signature or the file
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/DefaultCapabilitiesMetadata.java

            this.capabilities = capabilities;
        }
    
        @Override
        public List<? extends Capability> getCapabilities() {
            return capabilities.asSet().asList();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 18:10:47 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.h

    // that associates the arg with the asset.
    //
    // In detail, this function performs the following:
    // * Replaces "tf_saved_model.bound_input" attributes to
    //   "tf_saved_model.index_path", if the bound input is attached to the
    //   `tf_saved_model::AssetOp`.
    // * Strips the "assets/" prefix of the filename when setting it to
    //   `AssetFileDef`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 01:45:41 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/saved_model/testdata/test.mlir

      "tf_saved_model.global_tensor"() {is_mutable, sym_name = "y", type = tensor<3x1xi32>, value = dense<[[1], [2], [3]]> : tensor<3x1xi32>} : () -> ()
      "tf_saved_model.asset"() {sym_name = "z", filename = "file"} : () -> ()
      func.func @serving_default(
          %arg0: tensor<1x3xi32> {tf_saved_model.index_path = ["x"]},
          %arg1: tensor<!tf_type.resource<tensor<3x1xi32>>> {tf_saved_model.bound_input = @y},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 11:03:04 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/import_restore_v1.py

    # itself is verified in the common graphdef converter, so here just assert
    # it is being invoked.
    # CHECK: module
    # CHECK-SAME: tf.versions
    # CHECK-SAME: bad_consumers
    # CHECK-SAME: min_consumer
    # CHECK-SAME: producer
    
    # CHECK: tf_saved_model.session_initializer
    # CHECK-SAME: initializers = [@[[restore:.*]]]
    
    # CHECK: "tf_saved_model.asset"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.8K bytes
    - Viewed (1)
Back to top