Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 199 for Ntype (0.19 sec)

  1. src/runtime/slice.go

    }
    
    func panicmakeslicecap() {
    	panic(errorString("makeslice: cap out of range"))
    }
    
    // makeslicecopy allocates a slice of "tolen" elements of type "et",
    // then copies "fromlen" elements of type "et" into that new allocation from "from".
    func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer {
    	var tomem, copymem uintptr
    	if uintptr(tolen) > uintptr(fromlen) {
    		var overflow bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

          // Return values
          {"y: float"},
          // Attr def
          {},
          // Nodes
          {
              {{"two"},
               "Const",
               {},
               {{"value", test::AsScalar<int32>(2)}, {"dtype", DT_INT64}}},
              {{"scale"},
               "Cast",
               {"two"},
               {{"SrcT", DT_INT64}, {"DstT", DT_FLOAT}}},
              {{"y"}, "Mul", {"x", "scale"}, {{"T", DT_FLOAT}}},
          });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

      }
    
      tensorflow::DataType dtype;
      auto status = tensorflow::ConvertToDataType(operand.getType(), &dtype);
      if (!status.ok()) {
        op->emitRemark() << "skipping legalization due to " << status.ToString();
        return tensorflow::XlaExpression::Invalid();
      }
      return tensorflow::XlaExpression::XlaOp(xla_op, dtype);
    }
    
    }  // namespace mhlo
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. src/runtime/arena.go

    	// a pointer/scalar bitmap. We also reserve space for a dummy _type that
    	// refers to the bitmap. The PtrBytes field of the dummy _type indicates how
    	// many of those bits are valid.
    	return userArenaChunkBytes/goarch.PtrSize/8 + unsafe.Sizeof(_type{})
    }
    
    type userArena struct {
    	// full is a list of full chunks that have not enough free memory left, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    		aType := string(a.Type)
    		if aType == "" {
    			allErrs = append(allErrs, field.Required(fldPath.Child("type"), ""))
    			continue
    		}
    		if !knownTypes.Has(aType) {
    			allErrs = append(allErrs, field.NotSupported(fldPath.Child("type"), aType, knownTypes.List()))
    			continue
    		}
    		if seenAuthorizerTypes.Has(aType) && !repeatableTypes.Has(aType) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      ctx.appendDialectRegistry(registry);
      ctx.loadAllAvailableDialects();
    }
    
    Status ConvertDataTypeToTensor(tensorflow::DataType dtype, Builder builder,
                                   Type* type) {
      Status s = tensorflow::ConvertDataType(dtype, builder, type);
      if (s.ok()) *type = UnrankedTensorType::get(*type);
      return s;
    }
    
    class MlirTensor : public TracingTensorHandle {
     public:
      explicit MlirTensor(Value value)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/signature.go

    	if list == nil {
    		return
    	}
    
    	var named, anonymous bool
    
    	var typ Type
    	var prev syntax.Expr
    	for i, field := range list {
    		ftype := field.Type
    		// type-check type of grouped fields only once
    		if ftype != prev {
    			prev = ftype
    			if t, _ := ftype.(*syntax.DotsType); t != nil {
    				ftype = t.Elem
    				if variadicOk && i == len(list)-1 {
    					variadic = true
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/end2end/quant_stats.pbtxt

      input: "input1"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
    }
    node {
      name: "input0"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
    }
    node {
      name: "input1"
      op: "Placeholder"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
    }
    versions {
      producer: 27
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            bias = array_ops.constant(
                np.random.uniform(size=[shapes[1][-1]]), dtype=dtypes.float32
            )
        model = MatmulModel(bias)
        x = array_ops.constant(
            np.random.uniform(size=x_shape), dtype=dtypes.float32
        )
        y = array_ops.constant(
            np.random.uniform(size=y_shape), dtype=dtypes.float32
        )
        if use_kernel:
          model.matmul = model.matmul_with_kernel
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils.cc

    namespace mlir::quant::tensorflow {
    
    bool IsTFQintType(const Type type) {
      return mlir::isa<TF::Qint8Type, TF::Qint16Type, TF::Qint32Type,
                       TF::Quint8Type, TF::Quint16Type>(type);
    }
    
    Type GetIntTypeFromTFQint(const Type type) {
      return TypeSwitch<Type, Type>(type)
          .Case<TF::Qint8Type>(
              [&type](Type) { return IntegerType::get(type.getContext(), 8); })
          .Case<TF::Qint16Type>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top