- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for hashPtr (0.25 sec)
-
src/runtime/map.go
msanread(key, t.Key.Size_) } if asanenabled { asanread(key, t.Key.Size_) } if h.flags&hashWriting != 0 { fatal("concurrent map writes") } hash := t.Hasher(key, uintptr(h.hash0)) // Set hashWriting after calling t.hasher, since t.hasher may panic, // in which case we have not actually done a write. h.flags ^= hashWriting if h.buckets == nil { h.buckets = newobject(t.Bucket) // newarray(t.Bucket, 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 57.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
if (op->hasAttr(TF::kReplicationInfoAttr)) { op->setAttr(TF::kReplicationInfoAttr, attr); } } // Replaces the replication region attribute if it already exists. void UpdateReplicationAttr(TF::TPUCompilationResultOp& op, StringAttr attr) { // Special case for getting the replication region for // TPUCompilationResultsOp. if (op->hasAttr(kTpuCompilationStatus)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis.cc
return Hash64Combine(SafeTensorId::Hasher()(signature.first), ::tensorflow::hash<bool>()(signature.second)); } }; struct HashSignatureForIntSymbol { size_t operator()(const SignatureForIntSymbol& signature) const { return Hash64Combine( SafeTensorId::Hasher()(signature.first), Hash64Combine(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 60.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
// A map to find an attribute from its identifier. llvm::StringMap<Attribute> identifier_to_attr; for (Operation& inner_op : float_func.getBody().front().getOperations()) { if (!inner_op.hasAttr(kAttrMapAttribute)) continue; // Insert quantization related attribute if they exists. Quantization // attributes are generated in the prepare pass so the attr_map doesn't // contain the attribute names.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
if (walked_op->hasAttr(kXlaOutsideCompilationAttr)) { return WalkResult::interrupt(); } return WalkResult::advance(); }) .wasInterrupted(); } // Returns whether `op` or any ancestors of `op` are outside compiled. bool HasOutsideCompilationAncestor(Operation* op) { while (op) { if (op->hasAttr(kXlaOutsideCompilationAttr)) { return true;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
def lookup(self, f_name, func_def=None, optional=False): if f_name in self._op_defs: return self._op_defs[f_name] if isinstance(func_def, types.FunctionType): if not hasattr(func_def, '_tfr_op_name'): # skip a non-composition function if optional: return (None, None) else: raise KeyError('OpDef does not exist: ' + f_name)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
}; return llvm::all_of(op->getOperandTypes(), is_not_variant) && llvm::all_of(op->getResultTypes(), is_not_variant); }; auto is_set_item_legal = [](Operation *op) { return op->hasAttr("resize_if_index_out_of_bounds") && op->getAttr("resize_if_index_out_of_bounds") .cast<mlir::BoolAttr>() .getValue(); }; ConversionTarget target(*context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
src/reflect/type.go
mt.TFlag = 0 mt.Hash = fnv1(etyp.Hash, 'm', byte(ktyp.Hash>>24), byte(ktyp.Hash>>16), byte(ktyp.Hash>>8), byte(ktyp.Hash)) mt.Key = ktyp mt.Elem = etyp mt.Bucket = bucketOf(ktyp, etyp) mt.Hasher = func(p unsafe.Pointer, seed uintptr) uintptr { return typehash(ktyp, p, seed) } mt.Flags = 0 if ktyp.Size_ > abi.MapMaxKeyBytes { mt.KeySize = uint8(goarch.PtrSize) mt.Flags |= 1 // indirect key
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0)