Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 401 for gotType (0.23 sec)

  1. src/cmd/compile/internal/types2/typexpr.go

    	// If we want a type but don't have one, stop right here and avoid potential problems
    	// with missing underlying types. This also gives better error messages in some cases
    	// (see go.dev/issue/65344).
    	_, gotType := obj.(*TypeName)
    	if !gotType && wantType {
    		check.errorf(e, NotAType, "%s is not a type", obj.Name())
    		// avoid "declared but not used" errors
    		// (don't use Checker.use - we don't want to evaluate too much)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/go/types/typexpr.go

    	// If we want a type but don't have one, stop right here and avoid potential problems
    	// with missing underlying types. This also gives better error messages in some cases
    	// (see go.dev/issue/65344).
    	_, gotType := obj.(*TypeName)
    	if !gotType && wantType {
    		check.errorf(e, NotAType, "%s is not a type", obj.Name())
    		// avoid "declared but not used" errors
    		// (don't use Checker.use - we don't want to evaluate too much)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. src/encoding/gob/type.go

    		return tInt.gobType(), nil
    
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr:
    		return tUint.gobType(), nil
    
    	case reflect.Float32, reflect.Float64:
    		return tFloat.gobType(), nil
    
    	case reflect.Complex64, reflect.Complex128:
    		return tComplex.gobType(), nil
    
    	case reflect.String:
    		return tString.gobType(), nil
    
    	case reflect.Interface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

      if (!reshape_before) return failure();
    
      if (!dot.getLhs().getType().hasStaticShape() ||
          !dot.getRhs().getType().hasStaticShape() ||
          !reshape_before.getOperand().getType().hasStaticShape() ||
          !dot.getType().hasStaticShape() ||
          !reshape_after.getType().hasStaticShape()) {
        return rewriter.notifyMatchFailure(reshape_after,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                getType(Project.class),
                getType("Lorg/gradle/api/internal/project/ProjectInternal;"),
                getType(Gradle.class),
                getType("Lorg/gradle/api/internal/GradleInternal;")
            );
            private static final Type JAVA_LANG_REFLECT_TYPE = getType(java.lang.reflect.Type.class);
            private static final Type OBJECT_TYPE = getType(Object.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        if (!inner_reshape_op.getOutput().getType().hasStaticShape() ||
            !tfl_broadcast_to_op.getOutput().getType().hasStaticShape() ||
            !outer_reshape_op.getOutput().getType().hasStaticShape()) {
          return rewriter.notifyMatchFailure(
              loc, "Unsupported shapes. Currely only static shapes are supported");
        }
    
        if (!IsLastDimEqualToNumElements(inner_reshape_input.getType(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      // Hybrid lookup is not supported.
      if (value_attr.getType().getElementType() != getType().getElementType()) {
        return {};
      }
    
      // Expect 1d lookup tensor and a non-scalar input.
      if (lookup_attr.getType().getRank() != 1 ||
          value_attr.getType().getRank() == 0) {
        return {};
      }
    
      int64_t outer_dim_size = value_attr.getType().getShape()[0];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

        if (!mlir::cast<ShapedType>(lhs.getType()).hasStaticShape() ||
            !mlir::cast<ShapedType>(rhs.getType()).hasStaticShape() ||
            !mlir::cast<ShapedType>(cond.getType()).hasStaticShape()) {
          return rewriteOpWithDynamicInput(op, rewriter);
        }
    
        auto lhs_shape = mlir::cast<ShapedType>(lhs.getType()).getShape();
        auto rhs_shape = mlir::cast<ShapedType>(rhs.getType()).getShape();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

        for (auto [call_arg, body_arg] :
             llvm::zip(call.getOperation()->getOperands(),
                       f.getBody().front().getArguments())) {
          if (call_arg.getType() != body_arg.getType()) {
            body_arg.setType(call_arg.getType());
            changed = true;
          }
        }
        if (changed) {
          rewriter.finalizeOpModification(f);
          return success();
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

      if (!converter.isLegal(convert_op.getOperand().getType())) {
        auto other_convert_op = dyn_cast_or_null<OtherConvertOp>(
            convert_op.getOperand().getDefiningOp());
        return other_convert_op &&
               converter.isLegal(other_convert_op.getOperand().getType());
      } else if (!converter.isLegal(convert_op.getResult().getType())) {
        if (!convert_op.getResult().hasOneUse()) {
          return false;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top