Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for hasAttr (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                             op->getSuccessors(), new_regions);
          inner_op = rewriter.create(state);
        } else {
          bool disable_call_shape_inference = false;
          if (op->hasAttr("_disable_call_shape_inference")) {
            disable_call_shape_inference =
                op->getAttrOfType<BoolAttr>("_disable_call_shape_inference")
                    .getValue();
          }
          inner_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. src/runtime/runtime-gdb.py

    				return klass(val.cast(val.type.target()))
    		except Exception:
    			pass
    	return matcher
    
    goobjfile.pretty_printers.extend([makematcher(var) for var in vars().values() if hasattr(var, 'pattern')])
    #
    #  Utilities
    #
    
    def pc_to_int(pc):
    	# python2 will not cast pc (type void*) to an int cleanly
    	# instead python2 and python3 work with the hex string representation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

          }
        }
    
        return false;
      }
    
      // Checks if op calls a composite function and all the inputs are quantized.
      bool IsCompositeFunction(TF::PartitionedCallOp call_op) const {
        if (!call_op->hasAttr(kQuantTraitAttrName)) {
          return false;
        }
    
        const auto f_attr = call_op.getFAttr().dyn_cast<FlatSymbolRefAttr>();
        if (!f_attr || !f_attr.getValue().starts_with("composite_")) {
          return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|t...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  5. tensorflow/c/kernels.cc

                                         const char* attr_name, TF_Status* status) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx);
      return cc_ctx->HasAttr(attr_name);
    }
    
    TF_StringView TF_OpKernelConstruction_GetName(TF_OpKernelConstruction* ctx) {
      auto* cc_ctx = reinterpret_cast<tensorflow::OpKernelConstruction*>(ctx);
      TF_StringView string_view_of_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    		if i >= 0 && i < h.sigTParams.Len() && t == h.sigTParams.At(i) {
    			return 9173 + 3*uint32(i)
    		}
    	}
    	return h.hashPtr(t.Obj())
    }
    
    // hashPtr hashes the pointer identity of ptr. It uses h.ptrMap to ensure that
    // pointers values are not dependent on the GC.
    func (h Hasher) hashPtr(ptr any) uint32 {
    	if hash, ok := h.ptrMap[ptr]; ok {
    		return hash
    	}
    	hash := uint32(reflect.ValueOf(ptr).Pointer())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    		s.writeErrorResponse(w, errInvalidArgument)
    		return
    	}
    	var verifier *BitrotVerifier
    	if r.Form.Get(storageRESTBitrotAlgo) != "" {
    		hashStr := r.Form.Get(storageRESTBitrotHash)
    		var hash []byte
    		hash, err = hex.DecodeString(hashStr)
    		if err != nil {
    			s.writeErrorResponse(w, err)
    			return
    		}
    		verifier = NewBitrotVerifier(BitrotAlgorithmFromString(r.Form.Get(storageRESTBitrotAlgo)), hash)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top