Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/mlir/tfrt/tests/ir/fallback_opt.mlir

      // CHECK: tfrt_fallback_async.set_resource {{%.*}}, {{%.*}} {device = "cpu", index = 0 : i64}
      // CHECK: tfrt_fallback_async.set_resource {{%.*}}, {{%.*}} {device = "cpu", index = 1 : i64}
      // CHECK: tfrt_fallback_async.get_resource {{%.*}} {_tfrt_cost = 1 : i64, device = "cpu", indices = [0, 1]}
      %ch1 = tfrt_fallback_async.set_resource %ch0, %ra {device = "cpu", index = 0 : i64}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 11:03:04 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/fallback.mlir

      // CHECK: [[ch0:%.*]] = tfrt_fallback_async.set_resource [[in_ch]], {{.*}} {device = "/device:CPU:0", index = 0 : i64}
      // CHECK: [[ch1:%.*]], [[result:%.*]] = tfrt_fallback_async.executeop.seq([[ch0]]) key({{.*}}) cost({{.*}}) device("/device:CPU:0") "tf.ReadVariableOp"
      // CHECK: [[ch2:%.*]] = tfrt_fallback_async.set_resource [[ch1]], [[result]] {device = "/device:CPU:0", index = 1 : i64}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/basic.mlir

    "tf_saved_model.session_initializer"() { initializers = [@func_init] } : () -> ()
    
    // CHECK-LABEL: _tfrt_resource_init
    // CHECK: tf.VarHandleOp
    // CHECK: tf.ReadVariableOp
    // CHECK: tfrt_fallback_async.set_resource
    // CHECK-SAME: {device = "/device:CPU:0", index = 0 : i64}
    
    
    // CHECK-LABEL: func @init
    // CHECK-SAME: {tfrt.cost_threshold = 1 : i64}
    func.func @func_init() attributes {tf_saved_model.exported_names = ["init"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_sync.td

        Op<FallbackSync_Dialect, mnemonic, !listconcat(traits, [IsolatedFromAbove])> {
    }
    
    // TODO(rohitju): Add a verifier if there is anything that should be verified
    // compile time.
    def SetResourceOp : FallbackSync_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: Wed Jun 07 21:12:01 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/software/resources-sftp/src/main/java/org/gradle/internal/resource/transport/sftp/SftpResource.java

    import java.io.InputStream;
    import java.net.URI;
    
    public class SftpResource implements ExternalResourceReadResponse {
    
        private final SftpClientFactory clientFactory;
        private final ExternalResourceMetaData metaData;
        private final URI uri;
        private final PasswordCredentials credentials;
    
        private LockableSftpClient client;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SftpResource.groovy

    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.resource.RemoteResource
    import org.gradle.util.internal.RelativePathUtil
    
    class SftpResource implements RemoteResource {
    
        SFTPServer server
        TestFile file
    
        SftpResource(SFTPServer server, TestFile file) {
            this.server = server
            this.file = file
        }
    
        String getPath() {
            return getPathOnServer()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top