Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 199 for Dtype (0.21 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

              auto attr_key = attr.first;
              auto attr_value = attr.second;
              if (attr_key == attrKey &&
                  attr_value.value_case() == AttrValue::kType &&
                  attr_value.type() == DT_RESOURCE) {
                return true;
                break;
              }
            }
          }
        }
      }
      return false;
    }
    
    bool IsNonReplicatedGraph(const Graph& graph,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation_test.go

    				t.Errorf("wrong names result: %v", names)
    			}
    			for i, err := range errs {
    				expErr := tc.errs[i]
    				if err.Type != expErr.etype {
    					t.Errorf("unexpected error type:\n\twant: %q\n\t got: %q", expErr.etype, err.Type)
    				}
    				if !strings.HasSuffix(err.Field, "."+expErr.field) {
    					t.Errorf("unexpected error field:\n\twant: %q\n\t got: %q", expErr.field, err.Field)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    			if pname, ptype := extractName(x, p.tok == _Comma); pname != nil && (ptype != nil || p.tok != _Rbrack) {
    				// d.Name "[" pname ...
    				// d.Name "[" pname ptype ...
    				// d.Name "[" pname ptype "," ...
    				d.TParamList = p.paramList(pname, ptype, _Rbrack, true) // ptype may be nil
    				d.Alias = p.gotAssign()
    				d.Type = p.typeOrNil()
    			} else {
    				// d.Name "[" pname "]" ...
    				// d.Name "[" x ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

            type, builder.getFloatAttr(element_ty, unique_index));
    
      if (auto qtype = mlir::dyn_cast<QuantizedType>(element_ty)) {
        mlir::RankedTensorType new_type = tensorflow::GetTypeFromTFTensorShape(
            type.getShape(), qtype.getStorageType());
        return DenseElementsAttr::get(
            new_type, builder.getIntegerAttr(qtype.getStorageType(), unique_index));
      }
      llvm_unreachable("unhandled element type");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/runtime/netpoll.go

    // must be stored in interfaces indirectly. See issue 42076.
    func (pd *pollDesc) makeArg() (i any) {
    	x := (*eface)(unsafe.Pointer(&i))
    	x._type = pdType
    	x.data = unsafe.Pointer(&pd.self)
    	return
    }
    
    var (
    	pdEface any    = (*pollDesc)(nil)
    	pdType  *_type = efaceOf(&pdEface)._type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. src/runtime/malloc.go

    //   - github.com/v2pro/plz
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname reflect_unsafe_New reflect.unsafe_New
    func reflect_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    
    //go:linkname reflectlite_unsafe_New internal/reflectlite.unsafe_New
    func reflectlite_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. pkg/model/proxy.go

    )
    
    // NodeType decides the responsibility of the proxy serves in the mesh
    type NodeType string
    
    const (
    	// SidecarProxy type is used for sidecar proxies in the application containers
    	SidecarProxy NodeType = "sidecar"
    
    	// Router type is used for standalone proxies acting as L7/L4 routers
    	Router NodeType = "router"
    
    	// Waypoint type is used for waypoint proxies
    	Waypoint NodeType = "waypoint"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/runtime/race.go

    const raceenabled = true
    
    // For all functions accepting callerpc and pc,
    // callerpc is a return PC of the function that calls this function,
    // pc is start PC of the function that calls this function.
    func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) {
    	kind := t.Kind_ & abi.KindMask
    	if kind == abi.Array || kind == abi.Struct {
    		// for composite objects we have to read every address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. src/runtime/chan.go

    	debugChan = false
    )
    
    type hchan struct {
    	qcount   uint           // total data in the queue
    	dataqsiz uint           // size of the circular queue
    	buf      unsafe.Pointer // points to an array of dataqsiz elements
    	elemsize uint16
    	closed   uint32
    	timer    *timer // timer feeding this chan
    	elemtype *_type // element type
    	sendx    uint   // send index
    	recvx    uint   // receive index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  10. pkg/controller/job/job_controller.go

    func ensureJobConditionStatus(list []batch.JobCondition, cType batch.JobConditionType, status v1.ConditionStatus, reason, message string, now time.Time) ([]batch.JobCondition, bool) {
    	if condition := findConditionByType(list, cType); condition != nil {
    		if condition.Status != status || condition.Reason != reason || condition.Message != message {
    			*condition = *newCondition(cType, status, reason, message, now)
    			return list, true
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top