Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for PrimitiveType (0.29 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

        }
    
        def "can read and write #value to managed property of type #primitiveType"() {
            def loader = new GroovyClassLoader(getClass().classLoader)
            when:
            def interfaceWithPrimitiveProperty = loader.parseClass """
                @org.gradle.model.Managed
                interface PrimitiveProperty {
                    $primitiveType.name getPrimitiveProperty()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_compiler_options_util_test.cc

                          TensorShape(), DT_FLOAT, false,
                          tensorflow::XlaLayoutPreference::kNoPreference));
      xla::ShapeProto shape_proto;
      shape_proto.set_element_type(xla::PrimitiveType::F32);
      shape_proto.mutable_layout();
      EXPECT_EQ(shape, xla::Shape(shape_proto));
      EXPECT_EQ(options.shape_determination_fns.layout_preference_fn(
                    TensorShape(), DT_FLOAT, std::nullopt),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 29 01:41:20 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			schemaGenerator: func(max *int64) *schema.Structural {
    				strType := withMaxLength(primitiveType("string", ""), max)
    				beforeLen := int64(2)
    				afterLen := int64(4)
    				objType := objectType(map[string]schema.Structural{
    					"str":    strType,
    					"before": withMaxLength(primitiveType("string", ""), &beforeLen),
    					"after":  withMaxLength(primitiveType("string", ""), &afterLen),
    				})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    	int64Type   = primitiveType("integer", "int64")
    	numberType  = primitiveType("number", "")
    	floatType   = primitiveType("number", "float")
    	doubleType  = primitiveType("number", "double")
    	stringType  = primitiveType("string", "")
    	byteType    = primitiveType("string", "byte")
    	booleanType = primitiveType("boolean", "")
    
    	durationFormat = primitiveType("string", "duration")
    	dateFormat     = primitiveType("string", "date")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/codegen.cc

      return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z');
    }
    
    bool IsAlphaNum(char c) { return IsAlpha(c) || (c >= '0' && c <= '9'); }
    
    // Convert an XLA type into a C++ type.
    Status XLATypeToCpp(xla::PrimitiveType type, string* str) {
      switch (type) {
        case xla::PRED:
          *str = "bool";
          break;
        case xla::S8:
          *str = "tensorflow::int8";
          break;
        case xla::S16:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top