Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for attr_in (0.27 sec)

  1. tensorflow/c/kernels_test.cc

              << i;
        }
        TF_DeleteStatus(status);
        return static_cast<void*>(s);
      };
    
      AttrValue v;
      std::string attr_in[] = {"bugs", "bunny", "duck"};
      SetAttrValue(gtl::ArraySlice<std::string>(attr_in, 3), &v);
      CreateAndCallKernelWithAttr(my_create_func, "TestKernelAttrStringList", v);
    }
    
    TEST_F(TestKernelAttr, Tensor) {
      struct TensorProtoHelpers {
       public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go

    		return -1, -1, -1
    	}
    	var namebuf [1024]byte
    	sz := int32(copy(namebuf[:], path))
    	A2e(namebuf[:sz])
    	attr_sz := uint32(unsafe.Sizeof(*attr))
    	var parms [7]unsafe.Pointer
    	parms[0] = unsafe.Pointer(&sz)
    	parms[1] = unsafe.Pointer(&namebuf[0])
    	parms[2] = unsafe.Pointer(&attr_sz)
    	parms[3] = unsafe.Pointer(attr)
    	parms[4] = unsafe.Pointer(&rv)
    	parms[5] = unsafe.Pointer(&rc)
    	parms[6] = unsafe.Pointer(&rn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

      std::srand(0);
      for (auto fn : module->getOps<mlir::func::FuncOp>()) {
        for (auto& bb : fn) {
          for (auto& inst : bb) {
            auto attr_id = mlir::StringAttr::get(context, "value");
            if (auto attr = inst.getAttrOfType<mlir::ElementsAttr>(attr_id)) {
              mlir::Attribute rand_val;
              mlir::Type element_type = attr.getShapedType().getElementType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. 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)
  7. ci/official/utilities/extract_resultstore_links.py

                          'errors': str(error_count),
                          'failures': str(failure_count)}
        suite_attrib = attrib.copy()
        suite_attrib.update(suite_specific)
        testsuites.attrib = suite_attrib
        testsuite.attrib = suite_attrib
        indent_xml(testsuites)
    
      tree = ElemTree.ElementTree(testsuites)
      file_path = os.path.join(output_path)
      with open(file_path, 'wb') as f:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top