Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for numbertype (0.85 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    			obj:    objs(int64(10), 10.0, 10.49, 10.5, true, "10", "MTA=", "3723.004s", "1h2m3s4ms", "2011-08-18T19:03:37.01+01:00", "2011-08-18T19:03:37.01+01:00", "2011-08-18T00:00:00Z", "2011-08-18"),
    			schema: schemas(integerType, numberType, numberType, numberType, booleanType, stringType, byteType, stringType, durationFormat, stringType, dateTimeFormat, stringType, dateFormat),
    			expectCost: map[string]int64{
    				"int(self.val2) == self.val1":         6,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx_test.cc

    namespace tensorflow {
    namespace {
    
    REGISTER_OP("MyAddN")
        .Input("inputs: N * T")
        .Output("sum: T")
        .Attr("N: int >= 1")
        .Attr("T: {numbertype, variant}")
        .SetIsCommutative()
        .SetIsAggregate()
        .SetShapeFn(shape_inference::UnchangedShape);
    
    REGISTER_OP("RiscAddDummy")
        .Input("x: T")
        .Input("y: T")
        .Output("z: T")
        .Attr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. tensorflow/c/ops.h

    // capital letters, the operator expects the user to provide the attribute value
    // at operation runtime.
    //
    // <type> can be:
    //   "string", "int", "float", "bool", "type", "shape", or "tensor"
    //   "numbertype", "realnumbertype", "quantizedtype"
    //       (meaning "type" with a restriction on valid values)
    //   "{int32,int64}" or {realnumbertype,quantizedtype,string}"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. src/encoding/json/decode.go

    	}
    	f, err := strconv.ParseFloat(s, 64)
    	if err != nil {
    		return nil, &UnmarshalTypeError{Value: "number " + s, Type: reflect.TypeFor[float64](), Offset: int64(d.off)}
    	}
    	return f, nil
    }
    
    var numberType = reflect.TypeFor[Number]()
    
    // literalStore decodes a literal stored in item into v.
    //
    // fromQuoted indicates whether this literal came from unwrapping a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			obj:    objs(int64(10), 10.0, 10.49, 10.5, true, "10", "MTA=", "3723.004s", "1h2m3s4ms", "2011-08-18T19:03:37.01+01:00", "2011-08-18T19:03:37.01+01:00", "2011-08-18T00:00:00Z", "2011-08-18"),
    			schema: schemas(integerType, numberType, numberType, numberType, booleanType, stringType, byteType, stringType, durationFormat, stringType, dateTimeFormat, stringType, dateFormat),
    			valid: []string{
    				"int(self.val2) == self.val1",
    				"int(self.val3) == self.val1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  6. src/encoding/json/encode.go

    	e.Write(b)
    }
    
    var (
    	float32Encoder = (floatEncoder(32)).encode
    	float64Encoder = (floatEncoder(64)).encode
    )
    
    func stringEncoder(e *encodeState, v reflect.Value, opts encOpts) {
    	if v.Type() == numberType {
    		numStr := v.String()
    		// In Go1.5 the empty string encodes to "0", while this is not a valid number literal
    		// we keep compatibility so check validity after this.
    		if numStr == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

        .Output("o: float")
        .SetShapeFn(::tensorflow::shape_inference::UnknownShape);
    
    REGISTER_OP("AddNLikeTest")
        .Input("inputs: N * T")
        .Output("sum: T")
        .Attr("N: int >= 1")
        .Attr("T: numbertype")
        .SetIsCommutative()
        .SetIsAggregate();
    
    Node* Sequencer(const GraphDefBuilder::Options& opts,
                    const string& call_node_name) {
      if (opts.HaveError()) return nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

    private
    fun hasClassFlags(kmClassSupplier: Supplier<KmClass>, memberType: MemberType, jvmSignature: String, predicate: FlagsPredicate): Boolean {
        val kmClass = kmClassSupplier.get()
        return when (memberType) {
            MemberType.TYPE -> hasTypeFlags(kmClass, jvmSignature, predicate)
            MemberType.FIELD -> hasPropertyFlags(kmClass::properties, jvmSignature, predicate)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 07 08:14:15 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

            }
    }
    
    
    internal
    enum class MemberType {
        TYPE, CONSTRUCTOR, FIELD, METHOD
    }
    
    
    private
    fun memberTypeFor(member: CtMember): MemberType =
        when (member) {
            is CtConstructor -> MemberType.CONSTRUCTOR
            is CtField -> MemberType.FIELD
            is CtMethod -> MemberType.METHOD
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 07 08:20:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                        }
                        String memberType = (String) memberOf.get("@odata.type");
                        if (memberType == null) {
                            logger.warn("@odata.type is null: {}", memberOf);
                            continue;
                        }
                        memberType = memberType.toLowerCase(Locale.ENGLISH);
                        final String id = (String) memberOf.get("id");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top