Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 74 for set_resource (0.56 sec)

  1. tensorflow/compiler/jit/xla_launch_util_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:
      DeviceContext* device_context_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

         */
        public static Traverser getTraverser(final Class<?> referenceClass) {
            assertArgumentNotNull("referenceClass", referenceClass);
    
            final URL url = ResourceUtil.getResource(toClassFile(referenceClass.getName()));
            final String[] path = referenceClass.getName().split("\\.");
            String baseUrl = url.toExternalForm();
            for (final String element : path) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

            // alias analysis at a different place, skip here.
            if (ShouldUseResourceAliasAnalysis(effect)) continue;
            if (llvm::isa<ResourceEffects::MustExecute>(effect.getResource()))
              // We have this fake resource to avoid that certain ops are considered
              // dead or get pruned, ignore it for side effect analysis.
              continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

        }
    
        protected int maxConfigurationCacheProblems() {
            return 0
        }
    
        protected void useSample(String sampleDirectory) {
            def smokeTestDirectory = new File(this.getClass().getResource(sampleDirectory).toURI())
            FileUtils.copyDirectory(smokeTestDirectory, testProjectDir)
        }
    
        protected void replaceVariablesInBuildFile(Map binding) {
            replaceVariablesInFile(binding, buildFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

    mlir::Operation* GetXlaShardingFromOperand(Value value) {
      Value value_to_visit = value;
      if (auto read_var = value_to_visit.getDefiningOp<mlir::TF::ReadVariableOp>())
        value_to_visit = read_var.getResource();
    
      if (auto partitioned_input =
              value_to_visit.getDefiningOp<mlir::TF::TPUPartitionedInputV2Op>()) {
        return NullUnlessSharded(partitioned_input);
      }
    
      return nullptr;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  6. pkg/istio-agent/xds_proxy_delta.go

    	select {
    	// Convert back to a SotW response
    	case p.tapResponseChannel <- &discovery.DiscoveryResponse{
    		VersionInfo:  resp.SystemVersionInfo,
    		Resources:    slices.Map(resp.Resources, (*discovery.Resource).GetResource),
    		Canary:       false,
    		TypeUrl:      resp.TypeUrl,
    		Nonce:        resp.Nonce,
    		ControlPlane: resp.ControlPlane,
    	}:
    	default:
    		log.Infof("tap response %q arrived too late; discarding", resp.TypeUrl)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/shape_inference.cc

        // For loop invariant resource input's Merge node, we set output resource
        // shape as Enter node's resource shape.
        // TODO(b/129367850): clean this up.
        if (n->IsMerge() && n->output_type(0) == DT_RESOURCE) {
          // Check if this is a loop invariant input's Merge node. We do it by
          // checking if corresponding NextIteration node comes from Switch node
          // directly.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. pkg/controller/podgc/gc_controller_test.go

    }
    
    func getDeletedPodNames(client *fake.Clientset) sets.Set[string] {
    	deletedPodNames := sets.New[string]()
    	for _, action := range client.Actions() {
    		if action.GetVerb() == "delete" && action.GetResource().Resource == "pods" {
    			deleteAction := action.(clienttesting.DeleteAction)
    			deletedPodNames.Insert(deleteAction.GetName())
    		}
    	}
    	return deletedPodNames
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy

            model = builder.build()
            assert model != null: "Expected model to be generated but it wasn't"
        }
    
        private getTomlPath(String name) {
            def tomlResource = getClass().getResource("/org/gradle/api/internal/catalog/parser/${name}.toml").toURI()
            // Paths might be unusual, but we need it because of 1.8
            Paths.get(tomlResource)
        }
    
        @CompileStatic
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

                public class BuildClass {
                    public String message() throws IOException {
                        Properties props = new Properties();
                        URL resource = getClass().getResource("test.properties");
                        props.load(resource.openStream());
                        return props.getProperty("text", "PROPERTY NOT FOUND");
                    }
                }
            '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top