Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 831 for attr_ (0.1 sec)

  1. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

      string c_base_type = attr_.base_type();
      if (attr_.base_type() == "type") {
        c_base_type = "DataType";
      } else if (attr_.base_type() == "shape") {
        c_base_type = "const PartialTensorShape";
      }
    
      // ... and wrap in a Span<> if it's a list.
      if (attr_.is_list()) {
        return absl::Substitute("absl::Span<$0>", c_base_type);
      } else {
        return c_base_type;
      }
    
      return attr_.full_type();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/nms_utils.h

          : func_(func), attr_(attr) {}
    
      LogicalResult RewriteFunc();
    
      LogicalResult VerifySignature();
    
     private:
      LogicalResult CreateNMSCustomOptions(func::FuncOp func, DictionaryAttr attrs,
                                           std::string& custom_option_buffer);
    
      LogicalResult AddIntAttr(func::FuncOp func, DictionaryAttr attrs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.h

    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    namespace cpp {
    
    class AttrView {
     public:
      explicit AttrView(AttrSpec attr) : attr_(attr) {}
    
      string VariableName() const;
      string VariableType() const;
      string AttrNameString() const;
      string VariableStrLen() const;
      string VariableSpanData() const;
      string VariableSpanLen() const;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.h

     public:
      explicit ConvertMaxUnpoolingFunc(func::FuncOp func, mlir::TF::FuncAttr attr)
          : func_(func), attr_(attr) {}
    
      LogicalResult RewriteFunc();
    
      LogicalResult VerifySignature();
    
     private:
      LogicalResult CreateCustomOptions(std::string& custom_option_buffer);
    
      func::FuncOp func_;
      mlir::TF::FuncAttr attr_;
    };
    
    // Fuse DenseImageWarp ops annotated by tf.function to a TFLite custom op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 17:42:55 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/node_matchers.h

        control_deps_ = std::move(control_deps);
      }
    
      void set_attr(AttrKeyValuePair attr) {
        DCHECK(IsEmpty());
        attr_ = std::move(attr);
      }
    
      bool IsEmpty() const {
        return !name().has_value() && !op().has_value() && !inputs().has_value() &&
               !control_deps().has_value() && !attr().has_value();
      }
    
     private:
      std::optional<string> name_;
      std::optional<string> op_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

      }
    
      auto attrs = attr_.getAttrs();
    
      if (failed(HasIntegerArrayWithSize(&func_, attrs, "pool_size", 2))) {
        return failure();
      }
    
      if (failed(HasIntegerArrayWithSize(&func_, attrs, "strides", 2))) {
        return failure();
      }
    
      // Retrieves padding.
      auto padding = mlir::dyn_cast_or_null<StringAttr>(attrs.get("padding"));
      if (!padding) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

      }
    
      auto attrs = attr_.getAttrs();
      if (failed(HasIntAttr(func_, attrs, "max_detections")) ||
          failed(HasIntAttr(func_, attrs, "max_classes_per_detection")) ||
          failed(HasIntAttr(func_, attrs, "num_classes")) ||
          failed(HasFloatAttr(func_, attrs, "nms_score_threshold")) ||
          failed(HasFloatAttr(func_, attrs, "nms_iou_threshold")) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResource.java

         * bitset by bitwise ORing the <tt>ATTR_*</tt> constants. Setting the
         * value returned by <tt>getAttributes</tt> will result in both files
         * having the same attributes.
         * 
         * @param attrs
         *            attribute flags
         * 
         * @throws CIFSException
         */
        void setAttributes ( int attrs ) throws CIFSException;
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    		$2 ~ /^(TASKSTATS|TS)_/ ||
    		$2 ~ /^CGROUPSTATS_/ ||
    		$2 ~ /^GENL_/ ||
    		$2 ~ /^STATX_/ ||
    		$2 ~ /^RENAME/ ||
    		$2 ~ /^UBI_IOC[A-Z]/ ||
    		$2 ~ /^UTIME_/ ||
    		$2 ~ /^XATTR_(CREATE|REPLACE|NO(DEFAULT|FOLLOW|SECURITY)|SHOWCOMPRESSION)/ ||
    		$2 ~ /^ATTR_(BIT_MAP_COUNT|(CMN|VOL|FILE)_)/ ||
    		$2 ~ /^FSOPT_/ ||
    		$2 ~ /^WDIO[CFS]_/ ||
    		$2 ~ /^NFN/ ||
    		$2 !~ /^NFT_META_IIFTYPE/ &&
    		$2 ~ /^NFT_/ ||
    		$2 ~ /^NF_NAT_/ ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
    /**
     * Return the attributes of this file. Attributes are represented as a
     * bitset that must be masked with <tt>ATTR_*</tt> constants to determine
     * if they are set or unset. The value returned is suitable for use with
     * the <tt>setAttributes()</tt> method.
     *
     * @return the <tt>ATTR_*</tt> attributes associated with this file
     * @throws SmbException
     */
        public int getAttributes() throws SmbException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top