Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 108 for asSet (0.05 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h

      // Saves `exported_model` to `dst_saved_model_path` as SavedModel.
      // `src_saved_model_path` is the path to the source SavedModel from which the
      // exported model is produced. It is used to copy the asset files to
      // `dst_saved_model_path`. `tags` will be attached to the saved
      // `MetaGraphDef`. `signature_def_map` will be passed to the
      // `add_meta_graph_and_variables` function, which is internally used to add a
    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/stablehlo/cc/saved_model_export_test.cc

      mlir::OwningOpRef<mlir::ModuleOp> module_op = ParseModuleOpString(R"mlir(
        module attributes {tf_saved_model.semantics} {
          "tf_saved_model.session_initializer"() <{initializers = []}> : () -> ()
          "tf_saved_model.asset"() <{filename = "assets/vocab_file.txt", sym_name = "__tf_saved_model_asset0_vocab_file.txt"}> : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h

    // in flat buffer. If the
    // * `session` pointer may provided, it will be used to freeze resource
    // variables. If the `saved_model_dir` directory path is provided, then the
    // `tf_saved_model.asset` ops will be freezed.
    Status ConvertTFExecutorToTFLOrFlatbuffer(
        mlir::ModuleOp module, bool export_to_mlir, toco::TocoFlags& toco_flags,
        const mlir::TFL::PassConfig& pass_config,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 08:30:24 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import_test_pass.cc

     private:
      void runOnOperation() override;
    };
    
    void InitTextFileToImportSavedModelTestPass::runOnOperation() {
      ModuleOp module = getOperation();
    
      // Create a temporary saved model's asset file.
      SmallString<256> tempdir;
      std::error_code error_code =
          llvm::sys::fs::createUniqueDirectory("saved-model", tempdir);
      if (error_code) return signalPassFailure();
      error_code =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h

      return llvm::dyn_cast_or_null<T>(
          LookupBoundInput(func, arg_index, symbol_table));
    }
    
    // Gets the type that an exported function arg that is bound to symbol ops such
    // as `global_tensor` and `asset` should have.
    Type GetBoundInputArgTypeFor(mlir::Operation *op);
    
    // Returns the session initializer of this module if it exists. Returns null
    // otherwise.
    SessionInitializerOp GetSessionInitializerOp(ModuleOp module_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's
       * {@code Optional} class. However, this common usage:
       *
       * <pre>{@code
       * for (Foo foo : possibleFoo.asSet()) {
       *   doSomethingWith(foo);
       * }
       * }</pre>
       *
       * ... can be replaced with:
       *
       * <pre>{@code
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc

          return func_op;
        }
      }
      return {};
    }
    
    TEST_F(ConvertAssetArgsTest, ConvertsSingleAssetArg) {
      OwningOpRef<ModuleOp> module_op = ParseModuleOpString(R"mlir(
        module {
          "tf_saved_model.asset"() {filename = "assets/file_0.txt", sym_name = "__tf_saved_model_asset0"} : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/resolver/DefaultVariantArtifactResolver.java

            // TODO: This doesn't seem right. We should know the capability of the variant before we get here instead of assuming that it's the same as the owner
            if (capabilities.asSet().isEmpty()) {
                return ImmutableCapabilities.of(DefaultImmutableCapability.defaultCapabilityForComponent(component.getModuleVersionId()));
            } else {
                return capabilities;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Optional.java

       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's
       * {@code Optional} class. However, this common usage:
       *
       * <pre>{@code
       * for (Foo foo : possibleFoo.asSet()) {
       *   doSomethingWith(foo);
       * }
       * }</pre>
       *
       * ... can be replaced with:
       *
       * <pre>{@code
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

            dst_asset_file = file_io.join(curr_dst_dir, asset_file_name)
    
            file_io.copy_v2(src_asset_file, dst_asset_file)
            logging.info(
                'Copied asset file: %s -> %s', src_asset_file, dst_asset_file
            )
    
    
    def _validate_representative_dataset(
        representative_dataset: rd.RepresentativeDatasetOrMapping,
        signature_keys: Collection[str],
    ) -> None:
    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