Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 978 for getDtype (0.45 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

          DenseIntElementsAttr::get(
              RankedTensorType::get(/*shape=*/{}, builder.getI1Type()), true));
    
      SmallVector<Value, 4> while_input_values;
      SmallVector<Type, 4> while_input_types;
      while_input_values.push_back(const_true.getResult());
      while_input_types.push_back(const_true.getResult().getType());
      for (int i = 1; i < reduce_dataset.getNumOperands(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        return mlir::cast<TensorType>(input_tensor.getType()).hasStaticShape() &&
               mlir::cast<TensorType>(kernel_tensor.getType()).hasStaticShape() &&
               mlir::cast<TensorType>(window_strides.getType()).hasStaticShape() &&
               mlir::cast<TensorType>(padding.getType()).hasStaticShape() &&
               mlir::cast<TensorType>(lhs_dilation.getType()).hasStaticShape() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java

        ) {
            if (owner.isInterceptSubtypes()) {
                code.beginControlFlow("if ($N.isInstanceOf(owner, $S))", METADATA_FIELD, owner.getType().getInternalName());
            } else {
                code.beginControlFlow("if (owner.equals($S))", owner.getType().getInternalName());
            }
            for (CallInterceptionRequest request : requestsForOwner) {
                CodeBlock.Builder nested = CodeBlock.builder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:50:01 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

        [{
      Type resultType;
      if (x.getType().isa<UnrankedTensorType>() ||
          y.getType().isa<UnrankedTensorType>()) {
        resultType = UnrankedTensorType::get($_builder.getI1Type());
      } else {
        SmallVector<int64_t, 4> resultShape;
        if (!OpTrait::util::getBroadcastedShape(
                x.getType().cast<ShapedType>().getShape(),
                y.getType().cast<ShapedType>().getShape(), resultShape)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionTypeProvider.kt

         * - `Unit` type for statements;
         */
        public fun KtExpression.getKaType(): KaType? =
            withValidityAssertion { analysisSession.expressionTypeProvider.getKtExpressionType(this) }
    
        public fun KtExpression.getKtType(): KaType? = getKaType()
    
        /**
         * Returns the return type of the given [KtDeclaration] as [KaType].
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

      LogicalResult match(stablehlo::SelectOp op) const override {
        if (!IsQuantizedTensorType(op.getOperand(1).getType())) {
          return failure();
        }
        if (!IsQuantizedTensorType(op.getOperand(2).getType())) {
          return failure();
        }
        if (!IsQuantizedTensorType(op.getResult().getType())) {
          return failure();
        }
        return success();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K 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. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

         *
         * This may raise an exception if the resolution ends up with an unexpected kind.
         */
        public fun KtTypeReference.getKaType(): KaType =
            withValidityAssertion { analysisSession.typeProvider.getKtType(this) }
    
        public fun KtTypeReference.getKtType(): KaType = getKaType()
    
        /**
         * Resolve [KtDoubleColonExpression] and return [KaType] of its receiver.
         *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top