Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 128 for get_shape (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h

        return operand_ty == result_ty && identity_ty.hasStaticShape() &&
               result_ty.hasStaticShape() &&
               OpTrait::util::staticallyKnownBroadcastable(operand_ty.getShape(),
                                                           identity_ty.getShape());
      };
    
      // Check that we have a constant operand on one side (candidate for identity).
      const bool is_commutative =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        // Reshape input image to add a new spatial dimension.
        auto image_type = mlir::cast<ShapedType>(conv_op.getLhs().getType());
        SmallVector<int64_t, 4> image_2d_shape(image_type.getShape().begin(),
                                               image_type.getShape().end());
        image_2d_shape.push_back(1);
        auto image_2d_type =
            RankedTensorType::get(image_2d_shape, image_type.getElementType());
        auto loc = conv_op.getLoc();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

                if ( t != null ) {
                    if ( log.isDebugEnabled() ) {
                        log.debug("Tree is " + t);
                    }
    
                    if ( Objects.equals(loc.getShare(), t.getShare()) ) {
                        try ( SmbSessionImpl session = t.getSession() ) {
                            targetDomain = session.getTargetDomain();
                            if ( !session.isFailed() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        auto new_shape_const_attr =
            DenseElementsAttr::get(shape_spec_type, new_shape.getShape());
        rewriter.setInsertionPointAfter(weight_op);
        auto new_shape_const = rewriter.create<TF::ConstOp>(
            weight_op->getLoc(), shape_spec_type, new_shape_const_attr);
        auto reshape_op = rewriter.create<TF::ReshapeOp>(
            weight_op->getLoc(), new_shape, weight_op->getResult(0),
            new_shape_const);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

        const int num_dimensions = input_tensor.getShapedType().getRank();
        assert(perm_tensor.getType().getNumElements() == num_dimensions);
    
        ArrayRef<int64_t> input_shape = input_tensor.getShapedType().getShape();
        auto output_type = mlir::cast<ShapedType>(op.getOutput().getType());
    
        SmallVector<int32_t, 4> perm;
        SmallVector<int64_t, 4> output_shape;
        for (int i = 0; i < num_dimensions; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/legacy_reshape.json

          "outputs": [1],
          "operators": [
            {
              "inputs": [ 0 ],
              "outputs": [ 1 ],
              "builtin_options_type": "ReshapeOptions",
              "builtin_options": {
                "new_shape": [ 2, 2 ]
              }
            }
          ]
        }
      ],
      "buffers": []
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 986 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      Type dtype = getElementTypeOrSelf(type);
      if (RankedTensorType ty = type.dyn_cast<RankedTensorType>()) {
        llvm::SmallVector<int64_t, 4> shape = {dim};
        shape.append(ty.getShape().begin(), ty.getShape().end());
        return tensorflow::GetTypeFromTFTensorShape(shape, dtype);
      }
      return type;
    }
    
    Type GetTensorTypeForTensorList(Type element_type, TF::VariantType handle_dtype,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                return false;
            }
            DfsReferralData other = (DfsReferralData) obj;
    
            return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare())
                    && Objects.equals(getPath(), other.getPath()) && Objects.equals(getPathConsumed(), other.getPathConsumed());
        }
    
    
        /**
         * @param ref
         * @param reqPath
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

    def HasEqualShape : Constraint<CPred<
      "$0.getType().cast<ShapedType>().hasRank() && "
      "$1.getType().cast<ShapedType>().hasRank() && "
      "$0.getType().cast<ShapedType>().getShape() == $1.getType().cast<ShapedType>().getShape()">,
      "Checks if the shapes of tensors are same.">;
    
    // Make the 1D value $0 broadcastable with the shape of $1.
    def MakeOneDimValueBroadcastable : NativeCodeCall<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h

          auto scatter_dims_to_operand_dims =
              scatter_dimension_numbers.getScatterDimsToOperandDims();
    
          if (IsIotaAttr(inserted_window_dims, indices_type.getShape().back()) &&
              IsIotaAttr(scatter_dims_to_operand_dims,
                         indices_type.getShape().back())) {
            rewriter.replaceOpWithNewOp<TfOp>(scatter_op,
                                              scatter_op.getResult(0).getType(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top