Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 265 for __resource (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpComponentFixture.groovy

                return handle == "module:/resource/$projectName/$projectName"
            }
            assert module != null
            assert module.node."dependency-type"*.text() == ['uses']
            return module
        }
    
        WbResource sourceDirectory(String path) {
            def resource = resources.find { it.node."@source-path" == path }
            assert resource != null
            return resource
        }
    
        class WbModule {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/ops/variable_ops_test.cc

    TEST_F(VariableOpsTest, CreateVariableSuccessful) {
      // Create a DT_Resource TensorHandle that points to a scalar DT_FLOAT tensor
      ImmediateTensorHandlePtr handle;
      TF_EXPECT_OK(internal::CreateUninitializedResourceVariable(
          context(), DT_FLOAT, {}, nullptr, &handle));
      // The created TensorHandle should be a DT_Resource
      EXPECT_EQ(handle->DataType(), DT_RESOURCE);
    }
    
    // Sanity check for variable destruction
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 21 19:26:54 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-data-type-with-subtype.pbtxt

      attr {
        key: "dtype"
        value {
          type: DT_RESOURCE
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            unknown_rank: true
          }
        }
      }
    }
    versions {
      producer: 216
    }
    
    # CHECK-NO-SHAPE: func @main(%arg0: tensor<i32>, %arg1: tensor<!tf_type.resource<tensor<i32>>>) -> (tensor<i32>, tensor<!tf_type.resource<tensor<i32>>>)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 00:16:51 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/trace/gen.go

    }
    
    // Building blocks for generators.
    
    // stackSampleGenerator implements a generic handler for stack sample events.
    // The provided resource is the resource the stack sample should count against.
    type stackSampleGenerator[R resource] struct {
    	// getResource is a function to extract a resource ID from a stack sample event.
    	getResource func(*trace.Event) R
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/software/resources-s3/src/test/groovy/org/gradle/internal/resource/transport/aws/s3/S3ResourceConnectorTest.groovy

            1 * s3Client.listDirectChildren(uri)
        }
    
        def "should get a resource"() {
            ObjectMetadata objectMetadata = Mock()
            S3Client s3Client = Mock {
                1 * getResource(uri) >> Mock(S3Object) {
                    getObjectMetadata() >> objectMetadata
                }
            }
    
            when:
            def s3Resource = new S3ResourceConnector(s3Client).openResource(name, false)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserProfileTest.groovy

        </dependencies>
    </project>
    """
            and:
            parseContext.getMetaDataArtifact({ it.selector.module == 'parent' }, _, MAVEN_POM) >> asResource(parent)
            parseContext.getMetaDataArtifact({ it.selector.module == 'grandparent' }, _, MAVEN_POM) >> asResource(grandParent)
    
            when:
            parsePom()
    
            then:
            def dep = single(metadata.dependencies)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  10. pkg/apis/abac/v0/conversion_test.go

    		"resource": {
    			old:      &v0.Policy{Resource: "myresource"},
    			expected: &abac.Policy{Spec: abac.PolicySpec{Group: user.AllAuthenticated, Readonly: false, NonResourcePath: "", Namespace: "*", Resource: "myresource", APIGroup: "*"}},
    		},
    
    		// specifying a namespace+resource removes the * match on non-resource path
    		"namespace+resource": {
    			old:      &v0.Policy{Namespace: "myns", Resource: "myresource"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 18:54:02 UTC 2017
    - 3.4K bytes
    - Viewed (0)
Back to top