Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 614 for itype (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc

        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();
          case 16:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. 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)
  3. 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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/convert_type.cc

    tflite::TensorType ConvertTypeToTensorType(mlir::Type type) {
      if (type.isF16()) {
        return tflite::TensorType_FLOAT16;
      } else if (type.isBF16()) {
        return tflite::TensorType_BFLOAT16;
      } else if (type.isF32()) {
        return tflite::TensorType_FLOAT32;
      } else if (type.isF64()) {
        return tflite::TensorType_FLOAT64;
      } else if (mlir::isa<mlir::TF::StringType>(type)) {
        return tflite::TensorType_STRING;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/listener.go

    			return iAddr < jAddr
    		}
    		iType := retrieveListenerType(verifiedListeners[i])
    		jType := retrieveListenerType(verifiedListeners[j])
    		return iType < jType
    	})
    
    	printStr := "ADDRESSES\tPORT"
    	if includeConfigType {
    		printStr = "NAME\t" + printStr
    	}
    	if filter.Verbose {
    		printStr += "\tMATCH\tDESTINATION"
    	} else {
    		printStr += "\tTYPE"
    	}
    	fmt.Fprintln(w, printStr)
    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

            type, builder.getFloatAttr(element_ty, unique_index));
    
      if (auto qtype = mlir::dyn_cast<QuantizedType>(element_ty)) {
        mlir::RankedTensorType new_type = tensorflow::GetTypeFromTFTensorShape(
            type.getShape(), qtype.getStorageType());
        return DenseElementsAttr::get(
            new_type, builder.getIntegerAttr(qtype.getStorageType(), unique_index));
      }
      llvm_unreachable("unhandled element type");
    }
    
    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

        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

    	stringEface any = stringInterfacePtr("")
    	sliceEface  any = sliceInterfacePtr(nil)
    
    	uint16Type *_type = efaceOf(&uint16Eface)._type
    	uint32Type *_type = efaceOf(&uint32Eface)._type
    	uint64Type *_type = efaceOf(&uint64Eface)._type
    	stringType *_type = efaceOf(&stringEface)._type
    	sliceType  *_type = efaceOf(&sliceEface)._type
    )
    
    // The conv and assert functions below do very similar things.
    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. src/runtime/runtime-gdb.py

    			except Exception as e:
    				print("Can't parse ", obj, ": ", e)
    				continue
    
    			if obj['data'] == 0:
    				dtype = "nil"
    			else:
    				dtype = iface_dtype(obj)
    
    			if dtype is None:
    				print("Not an interface: ", obj.type)
    				continue
    
    			print("{0}: {1}".format(obj.type, dtype))
    
    # TODO: print interface's methods and dynamic type's func pointers thereof.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        }
        if (ftype.isF64()) {
          return tflite::TensorType_COMPLEX128;
        }
        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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top