Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 370 for gotType (0.19 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

      auto y = squared_diff_op.getRhs();
      auto x_type = mlir::dyn_cast<RankedTensorType>(x.getType());
      auto y_type = mlir::dyn_cast<RankedTensorType>(y.getType());
      if (!x_type || !y_type) return failure();
      if (x_type.getShape() != y_type.getShape()) return failure();
    
      auto result_type = squared_diff_op.getType();
      if (!result_type) return failure();
    
      auto sub_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java

                replaceExpr(expr.getArguments()));
            result.setType(expr.getType());
            result.setSourcePosition(expr);
            replaceVisitedExpressionWith(result);
        }
    
        @Override
        public void visitConstructorCallExpression(ConstructorCallExpression expr) {
            ConstructorCallExpression result = new ConstructorCallExpression(
                expr.getType(),
                replaceExpr(expr.getArguments()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

      auto &chain = chain_and_allocator[0];
      auto &allocator = chain_and_allocator[1];
    
      if (parser.resolveOperand(chain, builder.getType<compiler::ChainType>(),
                                result.operands))
        return mlir::failure();
    
      if (parser.resolveOperand(allocator,
                                builder.getType<fallback::TFAllocatorType>(),
                                result.operands))
        return mlir::failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

      return cast_op && IsIllegalType(cast_op.getX().getType()) &&
             ToLegalType(cast_op.getX().getType()) == cast_op.getY().getType();
    }
    
    bool IsIntToQintCast(Operation *op) {
      auto cast_op = llvm::dyn_cast<TF::CastOp>(op);
      return cast_op && IsIllegalType(cast_op.getY().getType()) &&
             ToLegalType(cast_op.getY().getType()) == cast_op.getX().getType();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/InstrumentingClassTransform.java

        private static final Type LONG_TYPE = getType(Long.class);
        private static final Type BOOLEAN_TYPE = getType(Boolean.class);
        public static final Type PROPERTIES_TYPE = getType(Properties.class);
        private static final Type BYTECODE_INTERCEPTOR_FILTER_TYPE = Type.getType(BytecodeInterceptorFilter.class);
    
        private static final String RETURN_STRING_FROM_STRING = getMethodDescriptor(STRING_TYPE, STRING_TYPE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

      EXPECT_FALSE(mlir::isa<NoneType>(it->getOperand(1).getType()));
    
      // input layer norm
      EXPECT_FALSE(mlir::isa<NoneType>(it->getOperand(20).getType()));
      EXPECT_EQ(mlir::cast<RankedTensorType>(it->getOperand(20).getType())
                    .getShape()
                    .size(),
                1);
      EXPECT_EQ(
          mlir::cast<RankedTensorType>(it->getOperand(20).getType()).getDimSize(0),
          3);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

    Value AccumulateBuffers(Value a, Value b, OpBuilder builder, Location loc) {
      if (getElementTypeOrSelf(a.getType()) == builder.getI1Type()) {
        return builder.create<TF::LogicalOrOp>(loc, ArrayRef<Type>{a.getType()},
                                               ArrayRef<Value>{a, b});
      }
      return builder.create<TF::AddV2Op>(loc, ArrayRef<Type>{a.getType()},
                                         ArrayRef<Value>{a, b});
    }
    
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

      StringAttr conv_padding = op.getPaddingAttr();
      SmallVector<int64_t> padding_nums;
      ShapedType lhs_shape = mlir::cast<ShapedType>(op.getLhs().getType());
      ShapedType rhs_shape = mlir::cast<ShapedType>(op.getRhs().getType());
    
      // Handle only static shape cases.
      // TODO(b/260284866): Handle dynamic shape cases.
      if (!lhs_shape.hasStaticShape()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

                 << "operand #" << i << " does not have a graph results to bind";
        if (graph.getResult(i).getType() != operand.getType()) {
          return fetch.emitOpError()
                 << "operand #" << i << " type mismatch graph results ("
                 << graph.getResult(i).getType() << " != " << operand.getType()
                 << ")";
        }
      }
      return success();
    }
    
    void GraphOp::print(OpAsmPrinter &p) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  10. src/debug/gosym/symtab.go

    				}
    				s.value |= uint64(p[0]) << shift
    				p = p[1:]
    			}
    			if goType {
    				if len(p) < ptrsz {
    					return &DecodingError{len(data), "unexpected EOF", nil}
    				}
    				// fixed-width go type
    				if ptrsz == 8 {
    					s.gotype = order.Uint64(p[0:8])
    					p = p[8:]
    				} else {
    					s.gotype = uint64(order.Uint32(p[0:4]))
    					p = p[4:]
    				}
    			}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
Back to top