Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for set_resource (0.17 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

    }
    
    class FallbackAsync_Op<string mnemonic, list<Trait> traits = []> :
        Op<FallbackAsync_Dialect, mnemonic, !listconcat(traits, [IsolatedFromAbove])> {
    }
    
    def SetResourceOp : FallbackAsync_Op<"set_resource", [CoreRT_TypedAttributeTrait]> {
      let summary = "Set a tensor in resource array";
    
      let description = [{
        Set a tensor in resource array.
    
        arg: the tensor to be set in the resource array.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

        Variadic<MlrtFutureType>:$results
      );
    
      let assemblyFormat = "`(` $device`)` `(` $args `)` attr-dict `:` functional-type($args, $results)";
    }
    
    def SetResourceOp : TensorflowMlrt_Op<"set_resource", []> {
      let summary = "Set a tensor in resource array";
    
      let description = [{
        Set a tensor in resource array.
    
        arg: the tensor to be set in the resource array.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/next_pluggable_device/c_api.cc

          container_name, plugin_resource_name, &tf_plugin_resource,
          [plugin_resource_name, create_func, create_func_args,
           delete_func](tensorflow::PluginResource** new_resource) {
            void* opaque_plugin_resource = create_func(create_func_args);
            *new_resource = new tensorflow::PluginResource(
                opaque_plugin_resource, plugin_resource_name, delete_func);
            return absl::OkStatus();
          });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 05:48:24 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/TextResourceScriptSourceTest.java

            assertNull(source.getResource().getCharset());
            assertThat(source.getResource().getLocation().getFile(), equalTo(scriptFile));
            assertThat(source.getResource().getLocation().getURI(), equalTo(scriptFileUri));
            assertThat(source.getResource().getText(), equalTo(""));
            assertTrue(source.getResource().isContentCached());
            assertTrue(source.getResource().getHasEmptyContent());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 15 01:04:05 UTC 2023
    - 12K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

      {
        // Function for While's "body".
        // "arg0" (T=DT_RESOURCE), "arg1" (T=DT_RESOURCE), "arg2" (T=DT_INT32)
        // "ret0" = "arg1"
        // "ret1" = "arg0"
        tensorflow::Scope s = tensorflow::Scope::NewRootScope();
        Output arg0 = ops::_Arg(s.WithOpName("arg0"), DT_RESOURCE, 0);
        Output arg1 = ops::_Arg(s.WithOpName("arg1"), DT_RESOURCE, 1);
        Output arg2 = ops::_Arg(s.WithOpName("arg2"), DT_INT32, 2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/DefaultClassLoaderScopeTest.groovy

            then:
            child.localClassLoader.getResource("root").text == "root"
            child.localClassLoader.getResource("export").text == "bar"
            child.localClassLoader.getResource("local") == null
            child.exportClassLoader.getResource("root").text == "root"
            child.exportClassLoader.getResource("export").text == "bar"
            child.exportClassLoader.getResource("local") == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 13:56:30 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy

            def url = writePluginProperties(TestPlugin1)
    
            given:
            classLoader.getResource("META-INF/gradle-plugins/org.gradle.somePlugin.properties") >> url
            classLoader.getResource("META-INF/gradle-plugins/somePlugin.properties") >> { throw new RuntimeException() }
            classLoader.loadClass(TestPlugin1.name) >> TestPlugin1
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 13K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

      auto d = ops::Placeholder(scope.WithOpName("D"), DT_FLOAT);
      auto u = ops::Placeholder(scope.WithOpName("U"), DT_RESOURCE);
      auto v = ops::Placeholder(scope.WithOpName("V"), DT_RESOURCE);
      auto w = ops::Placeholder(scope.WithOpName("W"), DT_RESOURCE);
    
      NodeDef def;
      TF_CHECK_OK(NodeDefBuilder("launch0", function, &flib_def)
                      .Input(a.node()->name(), 0, DT_INT32)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  9. maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                            return new FileModelSource(new File(getClass()
                                    .getResource("/poms/depmgmt/import.xml")
                                    .getFile()));
                        case "test:other:pom":
                            return new FileModelSource(new File(getClass()
                                    .getResource("/poms/depmgmt/other-import.xml")
                                    .getFile()));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 01 16:25:04 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessorTest.groovy

            def resource = Mock(ExternalResource)
            def localCandidates = Mock(LocallyAvailableResourceCandidates)
    
            when:
            def result = cache.getResource(location, null, fileStore, localCandidates)
    
            then:
            result == null
    
            and:
            1 * index.lookup("thing") >> null
            1 * localCandidates.isNone() >> true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 17:19:47 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top