Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 834 for Auto (0.13 sec)

  1. tensorflow/cc/saved_model/loader_util.cc

                     string* init_op_name) {
      const auto& sig_def_map = meta_graph_def.signature_def();
      const auto& init_op_sig_it =
          meta_graph_def.signature_def().find(kSavedModelInitOpSignatureKey);
      if (init_op_sig_it != sig_def_map.end()) {
        const auto& sig_def_outputs = init_op_sig_it->second.outputs();
        const auto& sig_def_outputs_it =
            sig_def_outputs.find(kSavedModelInitOpSignatureKey);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 10 10:25:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

        return failure();
      }
    
      auto session_init_func = GetOrCreateSessionInitFunc(module);
      OpBuilder builder(session_init_func.getContext());
    
      for (auto var_and_tensor : llvm::zip(var_ops, resource_tensors_or.value())) {
        auto& var_op = std::get<0>(var_and_tensor);
        auto& resource_tensor = std::get<1>(var_and_tensor);
        if (resource_tensor.dtype() != tensorflow::DT_RESOURCE) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_read_for_write.cc

      Operation* result_user = *result.getUsers().begin();
      auto assign_var = dyn_cast<TF::AssignVariableOp>(result_user);
      if (!assign_var) return resource;
    
      auto handle = assign_var.getResource();
      // Skip result if cluster writes to the same variable via multiple results.
      for (Operation* handle_user : handle.getUsers()) {
        if (handle_user == assign_var) continue;
        auto assign_var_user = dyn_cast<TF::AssignVariableOp>(handle_user);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/hoist_loop_invariant.cc

    ResourceHandle GetResourceHandle(Operation *op) {
      llvm::StringRef device;
      if (auto attr = op->getAttrOfType<StringAttr>("device")) {
        device = attr.getValue();
      }
    
      llvm::StringRef container;
      if (auto attr = op->getAttrOfType<StringAttr>("container")) {
        container = attr.getValue();
      }
    
      llvm::StringRef shared_name;
      if (auto attr = op->getAttrOfType<StringAttr>("shared_name")) {
        shared_name = attr.getValue();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. testing/soak/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSoakTest.groovy

                    .run()
    
            then: "the JDK is auto-provisioned again and its files, even though they are already there don't trigger an error, they just get overwritten"
            markerFile.exists()
        }
    
        def "issue warning on using auto-provisioned toolchain with no configured repositories"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 16:13:09 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc

      mlir::MLIRContext context(registry);
      auto module = mlir::OwningOpRef<mlir::ModuleOp>(
          mlir::parseSourceString<mlir::ModuleOp>(kMLIR, &context));
      auto module_op = module.get();
      auto serialized_result_fb = ExportRuntimeMetadata(module_op);
      const auto* result = GetRuntimeMetadata(serialized_result_fb.value().c_str());
      const auto* expected = GetRuntimeMetadata(kExpectedFB.c_str());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/strip_saved_module_metadata.cc

    };
    
    bool ShouldStripAttr(NamedAttribute &namedAttr) {
      auto name = namedAttr.getName().strref();
      return name.starts_with("tf_saved_model.");
    }
    
    void StripModule(Operation *module) {
      auto stripAttrs = llvm::to_vector<4>(llvm::make_filter_range(
          module->getAttrs(),
          [](NamedAttribute namedAttr) { return ShouldStripAttr(namedAttr); }));
      for (auto namedAttr : stripAttrs) {
        module->removeAttr(namedAttr.getName());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables.cc

      // Get resources from Session.
      auto resource_tensors_or = GetResourcesFromSession(var_ops, session);
      if (!resource_tensors_or.ok())
        return function->emitError(resource_tensors_or.status().message().data());
    
      MLIRContext* context = function.getContext();
      for (auto var_and_tensor : llvm::zip(var_ops, resource_tensors_or.value())) {
        auto& var_op = std::get<0>(var_and_tensor);
        auto& resource_tensor = std::get<1>(var_and_tensor);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 19:14:56 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

        Value new_arg = arg;
        Location loc = func.getLoc();
        if (arg.hasOneUse() && llvm::isa<QuantizeOp>(*arg.user_begin())) {
          auto quantize_op = llvm::cast<QuantizeOp>(*arg.user_begin());
          auto quantize_output = quantize_op.getOutput();
          auto current_type = quant::QuantizedType::getQuantizedElementType(
                                  quantize_output.getType())
                                  .getStorageType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/AutoInstalledInstallationSupplierTest.groovy

                jdk1.absolutePath,
                jdk2.absolutePath,
                jdk3.absolutePath
            ])
            directories*.source == ["Auto-provisioned by Gradle", "Auto-provisioned by Gradle", "Auto-provisioned by Gradle"]
        }
    
        def "automatically enabled if downloads are enabled"() {
            def jdk = temporaryFolder.createDir("11.0.6.hs-adpt")
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 23:01:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top