Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 411 for set_resource (0.18 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/mlrt/fuse_mlrt_ops.mlir

    // CHECK-LABEL: @main
    func.func @main() -> (!tf_mlrt.tensor, !tf_mlrt.tensor) {
      // CHECK-NEXT: [[r:%.*]]:3 = tf_mlrt.get_resource {indices = [2, 0, 1]}
      // CHECK-NEXT: [[v:%.*]] = tf_mlrt.executeop([[r]]#0, [[r]]#1)
      // CHECK-NEXT: return [[v]], [[r]]#2
      %0 = tf_mlrt.get_resource {indices = [2]} : !tf_mlrt.tensor
      %1 = tf_mlrt.get_resource {indices = [0]} : !tf_mlrt.tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 07 23:57:30 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SftpArtifact.java

    public class SftpArtifact extends SftpResource implements RemoteArtifact {
        public SftpArtifact(SFTPServer server, TestFile file) {
            super(server, file);
        }
    
        @Override
        public SftpResource getMd5() {
            return new SftpResource(getServer(), getFile().getParentFile().file(getFile().getName() + ".md5"));
        }
    
        @Override
        public SftpResource getSha1() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ResourcesTest.java

      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8));
        assertThat(Resources.toString(resource, Charsets.US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/end2end/disallow_stateful_partitioned_call.pbtxt

      op: "_Arg"
      attr {
        key: "T"
        value {
          type: DT_RESOURCE
        }
      }
      attr {
        key: "index"
        value {
          i: 0
        }
      }
    }
    node {
      name: "spc1"
      op: "StatefulPartitionedCall"
      input: "input0"
      input: "args_0"
      attr {
        key: "Tin"
        value {
          list {
            type: DT_FLOAT
            type: DT_RESOURCE
          }
        }
      }
      attr {
        key: "Tout"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 24 20:05:09 UTC 2023
    - 2.6K 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. guava-tests/test/com/google/common/io/ResourcesTest.java

      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8));
        assertThat(Resources.toString(resource, Charsets.US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

            Long transferred;
            synchronized (transfers) {
                transferred = transfers.remove(transferEvent.getResource());
            }
            if (transferred != null) {
                event.setTransferredBytes(transferred);
            }
    
            synchronized (artifacts) {
                artifacts.remove(transferEvent.getResource());
            }
    
            listener.transferCompleted(event);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top