Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for iType (0.06 sec)

  1. test/fixedbugs/bug447.go

    			var segs bytes.Buffer
    			itype := fmt.Sprintf("%s%d", typ, iWidth)
    			names.WriteString("\ttest" + itype + ",\n")
    			for _, fWidth := range floatWidths {
    				ftype := fmt.Sprintf("float%d", fWidth)
    				seg := strings.Replace(testSegment, "$F", ftype, -1)
    				seg = strings.Replace(seg, "$I", itype, -1)
    				segs.WriteString(seg)
    			}
    			body := strings.Replace(testFunc, "$I", itype, -1)
    			if typ[0] == 'u' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc

        return absl::OkStatus();
      } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(type)) {
        switch (itype.getWidth()) {
          case 1:
            *dtype = DT_BOOL;
            return absl::OkStatus();
          case 4:
            *dtype = itype.isUnsigned() ? DT_UINT4 : DT_INT4;
            return absl::OkStatus();
          case 8:
            *dtype = itype.isUnsigned() ? DT_UINT8 : DT_INT8;
            return absl::OkStatus();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/convert_type.cc

      } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(type)) {
        switch (itype.getWidth()) {
          case 1:
            return tflite::TensorType_BOOL;
          case 4:
            if (itype.isUnsigned())
              llvm_unreachable("invalid unsigned 4bit integer Type in conversion");
            else
              return tflite::TensorType_INT4;
          case 8:
            if (itype.isUnsigned())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/constant_utils.cc

        } else {
          return tensorflow::Status(absl::StatusCode::kInvalidArgument,
                                    "Unsupported type");
        }
      } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(element_type)) {
        if (element_type.isSignedInteger()) {
          switch (itype.getWidth()) {
            case 8:
              return DenseElementsAttr::get<int8_t>(shaped_type,
                                                    static_cast<int8_t>(value));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/listener.go

    		}
    		iAddr := retrieveListenerAddress(listeners[i])
    		jAddr := retrieveListenerAddress(listeners[j])
    		if iAddr != jAddr {
    			return iAddr < jAddr
    		}
    		iType := retrieveListenerType(listeners[i])
    		jType := retrieveListenerType(listeners[j])
    		return iType < jType
    	})
    
    	fmt.Fprintln(w, "LISTENER\tCHAIN\tMATCH\tDESTINATION")
    	for _, l := range listeners {
    		chains := getFilterChains(l)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

        mlir::RankedTensorType shaped_type, const std::vector<uint8_t>& buffer,
        bool truncate) {
      mlir::Type elem_type = shaped_type.getElementType();
      unsigned bit_width;
      if (auto itype = mlir::dyn_cast<mlir::IntegerType>(elem_type)) {
        bit_width = itype.getWidth();
      } else if (auto qtype =
                     mlir::dyn_cast<mlir::quant::QuantizedType>(elem_type)) {
        bit_width = qtype.getStorageTypeIntegralWidth();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

            return false;
        }
    
        private void ambiguousClass(ClassNode type, ClassNode iType, String name) {
            if (type.getName().equals(iType.getName())) {
                addError("reference to " + name + " is ambiguous, both class " + type.getName() + " and " + iType.getName() + " match", type);
            } else {
                type.setRedirect(iType);
            }
        }
    
        private boolean resolveAliasFromModule(ClassNode type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  8. src/runtime/iface.go

    		i := &inter.Methods[k]
    		itype := toRType(&inter.Type).typeOff(i.Typ)
    		name := toRType(&inter.Type).nameOff(i.Name)
    		iname := name.Name()
    		ipkg := pkgPath(name)
    		if ipkg == "" {
    			ipkg = inter.PkgPath.Name()
    		}
    		for ; j < nt; j++ {
    			t := &xmhdr[j]
    			rtyp := toRType(typ)
    			tname := rtyp.nameOff(t.Name)
    			if rtyp.typeOff(t.Mtyp) == itype && tname.Name() == iname {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        }
        return Status(absl::StatusCode::kInvalidArgument, "Unsupported type");
      } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(type)) {
        switch (itype.getWidth()) {
          case 1:
            return tflite::TensorType_BOOL;
          case 4:
            if (itype.isUnsigned()) {
              return Status(absl::StatusCode::kInvalidArgument,
                            "Unsupported 4bit unsigned int type");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  10. src/runtime/runtime-gdb.py

    #rsc: "to find the number of entries in the itab's Fn field look at
    # itab.inter->numMethods
    # i am sure i have the names wrong but look at the interface type
    # and its method count"
    # so Itype will start with a commontype which has kind = interface
    
    #
    # Register all convenience functions and CLI commands
    #
    GoLenFunc()
    GoCapFunc()
    DTypeFunc()
    GoroutinesCmd()
    GoroutineCmd()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
Back to top