Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for attrName (0.24 sec)

  1. pkg/proxy/util/nfacct/nfacct_linux.go

    // (definition: https://github.com/torvalds/linux/blob/v6.7/include/uapi/linux/netfilter/nfnetlink_acct.h#L24-L35)
    const (
    	// NFACCT_NAME
    	attrName = 1
    	// NFACCT_PKTS
    	attrPackets = 2
    	// NFACCT_BYTES
    	attrBytes = 3
    )
    
    // runner implements the Interface and depends on the handler for execution.
    type runner struct {
    	handler handler
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. src/cmd/pprof/pprof.go

    				return nil
    			}
    			for _, pcs := range ranges {
    				if pcs[0] <= addr && addr < pcs[1] {
    					var ok bool
    					// TODO: AT_linkage_name, AT_MIPS_linkage_name.
    					name, ok = entry.Val(dwarf.AttrName).(string)
    					if ok {
    						break FindName
    					}
    				}
    			}
    		}
    	}
    
    	// TODO: Report inlined functions.
    
    	frames := []driver.Frame{
    		{
    			Func: name,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.td

    // with the key `attr_name` as the type provided by `attr_type`.
    class GetCompositeAttributeAs<string attr_name, string attr_type>:
      NativeCodeCall<"$0.get(\"" # attr_name # "\").dyn_cast<" # attr_type # ">()">;
    
    // Receives a composite DictionaryAttr and returns the value of the Attribute
    // with the key `attr_name` as a DenseIntElementsAttr.
    class GetAsVectorAttr<string attr_name>:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.h

    namespace mlir {
    namespace odml {
    
    // Ensure an attribute named attr_name exists and it is of type AttrType.
    // If so, sets the `out_attr` pointer to point to the casted attribute.
    template <typename AttrType>
    bool EnsureAttribute(const DictionaryAttr& composite_attributes,
                         const std::string& attr_name, AttrType* out_attr) {
      Attribute attr = composite_attributes.get(attr_name);
      if (!mlir::isa_and_nonnull<AttrType>(attr)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

                                                 const std::string& attr_name,
                                                 int N) {
      ArrayAttr array_attr =
          mlir::dyn_cast_or_null<ArrayAttr>(attrs.get(attr_name));
      if (array_attr == nullptr || array_attr.size() != N) {
        return func->emitWarning()
               << "'" << attr_name << "' attribute for " << kMaxUnpooling
               << " must be set and has size of " << N;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.cc

      return true;
    }
    
    bool GetI32VectorFromDenseI64CompositeAttr(
        const DictionaryAttr& composite_attrs, const std::string& attr_name,
        std::vector<int32_t>* out_vec) {
      DenseIntElementsAttr attr;
      if (!EnsureAttribute<DenseIntElementsAttr>(composite_attrs, attr_name,
                                                 &attr)) {
        return false;
      }
    
      return DenseI64AttrToI32Vector(attr, out_vec);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental.cc

      }
      tsl::Set_TF_Status_from_Status(s, tracing_op->SetOpName(op_name));
    }
    
    void TF_AbstractOpSetAttrType(TF_AbstractOp* op, const char* const attr_name,
                                  TF_DataType value, TF_Status* s) {
      Status status =
          unwrap(op)->SetAttrType(attr_name, static_cast<DataType>(value));
      TF_SetStatus(s, static_cast<TF_Code>(status.code()),
                   absl::StatusMessageAsCStr(status));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 10:15:17 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top