Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for nelem (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

      return parsed_device.has_type && parsed_device.type == kTPUReplicatedCore;
    }
    
    bool TypeValidForXLA(const mlir::Type& type) {
      const mlir::Type elem = getElementTypeOrSelf(type);
      return !mlir::isa<mlir::TF::ResourceType>(elem) &&
             !mlir::isa<mlir::TF::StringType>(elem);
    }
    
    mlir::LogicalResult GetDeviceToHostMap(
        mlir::tf_device::ClusterOp cluster,
        llvm::SmallVector<std::string, 8>& core_to_host) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. callbacks/query.go

    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Struct:
    					queryFields = db.Statement.ReflectValue.Type() != db.Statement.Schema.ModelType
    				case reflect.Slice:
    					queryFields = db.Statement.ReflectValue.Type().Elem() != db.Statement.Schema.ModelType
    				}
    			}
    
    			if queryFields {
    				stmt := gorm.Statement{DB: db}
    				// smaller struct
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:51:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/func.go

    	d := f.SplitSlot(name, ".data", u.Size(), t)
    	return c, d
    }
    
    func (f *Func) SplitSlice(name *LocalSlot) (*LocalSlot, *LocalSlot, *LocalSlot) {
    	ptrType := types.NewPtr(name.Type.Elem())
    	lenType := types.Types[types.TINT]
    	p := f.SplitSlot(name, ".ptr", 0, ptrType)
    	l := f.SplitSlot(name, ".len", ptrType.Size(), lenType)
    	c := f.SplitSlot(name, ".cap", ptrType.Size()+lenType.Size(), lenType)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (S(RAW|RW|LW) x (MOVDconst [c])) => (S(RAW|RW|LW)const [c&31 | (c>>5&1*31)] x)
    
    (Addr {sym} base) => (MOVDaddr {sym} [0] base)
    (LocalAddr <t> {sym} base mem) && t.Elem().HasPointers() => (MOVDaddr {sym} (SPanchored base mem))
    (LocalAddr <t> {sym} base _)  && !t.Elem().HasPointers() => (MOVDaddr {sym} base)
    (OffPtr [off] ptr) => (ADD (MOVDconst <typ.Int64> [off]) ptr)
    (MOVDaddr {sym} [n] p:(ADD x y)) && sym == nil && n == 0 => p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/listener_test.go

    		}
    	}
    }
    
    // Test to catch new fields in FilterChainMatch message.
    func TestFilterChainMatchFields(t *testing.T) {
    	fcm := listener.FilterChainMatch{}
    	e := reflect.ValueOf(&fcm).Elem()
    	// If this fails, that means new fields have been added to FilterChainMatch, filterChainMatchEqual function needs to be updated.
    	if e.NumField() != 14 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritePPC64.go

    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (LocalAddr <t> {sym} base mem)
    	// cond: t.Elem().HasPointers()
    	// result: (MOVDaddr {sym} (SPanchored base mem))
    	for {
    		t := v.Type
    		sym := auxToSym(v.Aux)
    		base := v_0
    		mem := v_1
    		if !(t.Elem().HasPointers()) {
    			break
    		}
    		v.reset(OpPPC64MOVDaddr)
    		v.Aux = symToAux(sym)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        Arg<TF_Tensor, [{The tensor to be pushed onto the stack.}]>:$elem,
    
        DefaultValuedOptionalAttr<BoolAttr, "false">:$swap_memory
      );
    
      let results = (outs
        Res<TF_Tensor, [{The same tensor as the input 'elem'.}]>:$output
      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<1>;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top