Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enum_values (0.05 sec)

  1. tensorflow/c/c_api.h

                                                const char* attr_name,
                                                const void* value, size_t length);
    // `values` and `lengths` each must have lengths `num_values`.
    // `values[i]` must point to a string of length `lengths[i]` bytes.
    TF_CAPI_EXPORT extern void TF_SetAttrStringList(TF_OperationDescription* desc,
                                                    const char* attr_name,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    	case *dwarf.EnumType:
    		if t.Align = t.Size; t.Align >= c.ptrSize {
    			t.Align = c.ptrSize
    		}
    		t.C.Set("enum " + dt.EnumName)
    		signed := 0
    		t.EnumValues = make(map[string]int64)
    		for _, ev := range dt.Val {
    			t.EnumValues[ev.Name] = ev.Val
    			if ev.Val < 0 {
    				signed = signedDelta
    			}
    		}
    		switch t.Size + int64(signed) {
    		default:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
Back to top