Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for attr_in (0.38 sec)

  1. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributePointer.java

     *
     */
    class Xpp3DomAttributePointer extends NodePointer {
    
        private Map.Entry<String, String> attrib;
    
        public Xpp3DomAttributePointer(NodePointer parent, Map.Entry<String, String> attrib) {
            super(parent);
            this.attrib = attrib;
        }
    
        @Override
        public int compareChildNodePointers(NodePointer pointer1, NodePointer pointer2) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/utils/eval_util.cc

            MakeCleanup([tf_tensor] { TF_DeleteTensor(tf_tensor); });
        Tensor tensor;
        RETURN_FAILURE_IF_ERROR(TF_TensorToTensor(tf_tensor, &tensor));
        auto attr_or = ConvertTensor(tensor, &builder);
        RETURN_FAILURE_IF_ERROR(attr_or.status());
        results->push_back(attr_or.value());
      }
    
      VLOG(1) << "Evaluate node " << node_name << " successfully!";
    
      return mlir::success();
    }
    
    #undef RETURN_FAILURE_IF_ERROR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 13 06:02:14 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. src/syscall/netlink_linux.go

    func nlmAlignOf(msglen int) int {
    	return (msglen + NLMSG_ALIGNTO - 1) & ^(NLMSG_ALIGNTO - 1)
    }
    
    // Round the length of a netlink route attribute up to align it
    // properly.
    func rtaAlignOf(attrlen int) int {
    	return (attrlen + RTA_ALIGNTO - 1) & ^(RTA_ALIGNTO - 1)
    }
    
    // NetlinkRouteRequest represents a request message to receive routing
    // and link states from the kernel.
    type NetlinkRouteRequest struct {
    	Header NlMsghdr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/nms_utils.h

    // TFLite.
    class ConvertSSDPostProcessFunc {
     public:
      explicit ConvertSSDPostProcessFunc(func::FuncOp func, mlir::TF::FuncAttr attr)
          : func_(func), attr_(attr) {}
    
      LogicalResult RewriteFunc();
    
      LogicalResult VerifySignature();
    
     private:
      LogicalResult CreateNMSCustomOptions(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)
  7. 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)
  8. tensorflow/compiler/jit/node_matchers.h

        return input_matchers_;
      }
      const std::optional<NodeSeqMatcher>& control_deps() const {
        return control_deps_;
      }
      const std::optional<AttrKeyValuePair>& attr() const { return attr_; }
    
      void set_name(string name) {
        DCHECK(IsEmpty());
        name_ = std::move(name);
      }
    
      void set_op(string op) {
        DCHECK(IsEmpty());
        op_ = std::move(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)
  9. tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc

        return func_.emitWarning()
               << "Invalid number of results from " << kMaxUnpooling << ": "
               << func_.getFunctionType().getNumResults();
      }
    
      auto attrs = attr_.getAttrs();
    
      if (failed(HasIntegerArrayWithSize(&func_, attrs, "pool_size", 2))) {
        return failure();
      }
    
      if (failed(HasIntegerArrayWithSize(&func_, attrs, "strides", 2))) {
        return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

                     StringAttr::get(func_.getContext(), kCustomSSDPostprocessing));
    
      OpBuilder builder(func_.getBody());
      std::string custom_option_buffer;
      if (failed(CreateNMSCustomOptions(func_, attr_.getAttrs(),
                                        custom_option_buffer))) {
        return failure();
      }
      auto op = builder.create<CustomOp>(
          func_.getLoc(), func_.getFunctionType().getResults(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top