Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 140 for set_resource (0.16 sec)

  1. tensorflow/compiler/jit/xla_cluster_util.cc

    }
    
    bool HasResourceInputOrOutput(const Node& node) {
      return std::find(node.input_types().begin(), node.input_types().end(),
                       DT_RESOURCE) != node.input_types().end() ||
             std::find(node.output_types().begin(), node.output_types().end(),
                       DT_RESOURCE) != node.output_types().end();
    }
    
    void RemoveFromXlaCluster(NodeDef* node_def) {
      node_def->mutable_attr()->erase(kXlaClusterAttr);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. pkg/kubelet/server/server.go

    			klog.ErrorS(err, "Authorization error", "user", attrs.GetUser().GetName(), "verb", attrs.GetVerb(), "resource", attrs.GetResource(), "subresource", attrs.GetSubresource())
    			msg := fmt.Sprintf("Authorization error (user=%s, verb=%s, resource=%s, subresource=%s)", attrs.GetUser().GetName(), attrs.GetVerb(), attrs.GetResource(), attrs.GetSubresource())
    			resp.WriteErrorString(http.StatusInternalServerError, msg)
    			return
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/GeneratePluginAdaptersTask.java

                }
            }
            if (!validationErrors.isEmpty()) {
                throw new LocationAwareException(new IllegalArgumentException(String.join("\n", validationErrors)),
                    scriptPlugin.getBodySource().getResource().getLocation().getDisplayName(),
                    pluginRequests.iterator().next().getLineNumber());
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 22:50:50 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessor.java

            this.fileResourceRepository = fileResourceRepository;
            this.checksumService = checksumService;
        }
    
        @Nullable
        @Override
        public LocallyAvailableExternalResource getResource(final ExternalResourceName location, @Nullable String baseName, final ResourceFileStore fileStore, @Nullable final LocallyAvailableResourceCandidates additionalCandidates) {
            return producerGuard.guardByKey(location, () -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/process/internal/worker/child/WorkerProcessClassPathProvider.java

                String internalName = Type.getInternalName(classToMap);
                String resourceName = internalName.concat(".class");
                URL resource = WorkerProcessClassPathProvider.class.getClassLoader().getResource(resourceName);
                if (resource == null) {
                    throw new IllegalStateException("Could not locate classpath resource for class " + classToMap.getName());
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/AbstractReportGenerator.java

            return resultsStoreClass.getConstructor().newInstance();
        }
    
        protected void copyResource(String resourceName, File outputDirectory) {
            URL resource = getClass().getClassLoader().getResource("org/gradle/reporting/" + resourceName);
            String dir = StringUtils.substringAfterLast(resourceName, ".");
            GFileUtils.copyURLToFile(resource, new File(outputDirectory, dir + "/" + resourceName));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

    Value LocalVarOp_resource(LocalVarOp &op) {
      if (auto var_handle_op = std::get_if<TF::VarHandleOp>(&op)) {
        return var_handle_op->getResource();
      } else {
        return std::get<TF::MlirLocalVarOp>(op).getResource();
      }
    }
    
    void LocalVarOp_erase(LocalVarOp &op) {
      if (auto var_handle_op = std::get_if<TF::VarHandleOp>(&op)) {
        var_handle_op->erase();
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

      }
      SmallVector<Value, 4> new_input_values;
      new_input_values.reserve(new_inputs.size());
      for (auto var : new_inputs) new_input_values.push_back(var.getResource());
      new_replicated_inputs.emplace_back(new_input_values,
                                         new_input_values.front().getType());
      OpBuilder builder(replicate);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_launch_util_gpu_test.cc

        TypeIndex type_index = TypeIndex::Make<Var>();
        handle.set_hash_code(type_index.hash_code());
        handle.set_maybe_type_name(type_index.name());
    
        Tensor* input = new Tensor(host_allocator_, DT_RESOURCE, TensorShape({}));
        input->scalar<ResourceHandle>()() = handle;
        tensors_.push_back(input);
        inputs_.push_back({nullptr, input});
      }
    
     protected:
      core::RefCountPtr<DeviceContext> device_context_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

                    public ResourceWorkAction() { }
    
                    public void execute() {
                        super.execute()
                        def resource = Thread.currentThread().getContextClassLoader().getResource("foo.txt")
                        assert resource != null && resource.getPath().endsWith('foo.jar!/foo.txt')
                    }
                }
    
                task jarFoo(type: Jar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top