Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for asSet (0.3 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h

    // Creates a pass that freezes tf_saved_model.global_tensor ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateFreezeGlobalTensorsPass(
        bool allow_mutable_tensors = false);
    
    // Creates a pass that freezes tf_saved_model.asset ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateFreezeAssetsPass(
        std::string saved_model_dir = "");
    
    // Creates as pass that removes variables in the session initializer.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/AbstractComponentGraphResolveState.java

            artifactResolver.resolveArtifactsWithType(getArtifactMetadata(), artifactType, result);
        }
    
        protected ImmutableCapabilities capabilitiesFor(ImmutableCapabilities capabilities) {
            if (capabilities.asSet().isEmpty()) {
                return ImmutableCapabilities.of(DefaultImmutableCapability.defaultCapabilityForComponent(getMetadata().getModuleVersionId()));
            } else {
                return capabilities;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_tfl_passes.h

    // imported from saved model version one and utilized for capturing resource
    // variables. If the `saved_model_dir` directory path is provided, then the
    // `tf_saved_model.asset` ops will be freezed.
    void AddTFToTFLConversionPasses(llvm::StringRef saved_model_dir,
                                    const toco::TocoFlags& toco_flags,
                                    const mlir::TFL::PassConfig& pass_config,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 01 06:14:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/AmbiguousGraphVariantsFailureDescriber.java

            formatter.append("'");
            formatter.append(" " + CapabilitiesDescriber.describeCapabilitiesWithTitle(targetComponentId, assessedCandidate.getCandidateCapabilities().asSet()));
    
            formatAttributeMatchesForAmbiguity(assessedCandidate, formatter, describer);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

          if (assets_iter == objects.assets.end()) {
            return absl::FailedPreconditionError(absl::StrCat(
                "Tried to convert node id ", node_id,
                " of type asset to tensor but the asset wasn't initialized"));
          }
          *handle = assets_iter->second->handle();
          return Status();
        }
        case SavedObject::kResource: {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top