Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ShapedTypeComponents (0.68 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/shape_inference_utils.h

        tfg::OperandAsConstantFn operand_as_constant_fn,
        tfg::OpResultAsShapeFn op_result_as_shape_fn,
        tfg::ResultElementTypeFn result_element_type_fn,
        SmallVectorImpl<ShapedTypeComponents>& inferred_return_shapes);
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/shape_inference_utils.cc

        tfg::OperandAsConstantFn operand_as_constant_fn,
        tfg::OpResultAsShapeFn op_result_as_shape_fn,
        tfg::ResultElementTypeFn result_element_type_fn,
        SmallVectorImpl<ShapedTypeComponents>& inferred_return_shapes) {
      assert(op->getName().getDialectNamespace() ==
             TensorFlowDialect::getDialectNamespace());
      return tfg::InferReturnTypeComponentsForTFOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Dec 22 13:13:44 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

          ValueShapeRange operands, DictionaryAttr attributes,            \
          OpaqueProperties properties, RegionRange regions,               \
          SmallVectorImpl<ShapedTypeComponents>& inferredReturnShapes) {  \
        return inferReturnTypeComponentsFromOperands(                     \
            context, location, operands, attributes, properties, regions, \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

          MLIRContext*, std::optional<Location> location, ValueShapeRange operands,
          DictionaryAttr attributes, OpaqueProperties properties,
          RegionRange regions,
          SmallVectorImpl<ShapedTypeComponents>& inferredReturnShapes) {
        if (operands.empty())
          return emitOptionalError(
              location,
              "Expected non-empty operands for [CompatibleOperandsAndResultType]");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    static LogicalResult inferConvReturnTypeComponents(
        std::optional<mlir::Location> location, OpT op,
        ArrayRef<Attribute> explicit_padding,
        llvm::SmallVectorImpl<ShapedTypeComponents>& inferredReturnShapes) {
      const int64_t num_spatial_dims = std::is_same<OpT, Conv2DOpAdaptor>() ? 2 : 3;
      const int64_t num_dims = 2 + num_spatial_dims;
      const Value input = op.getInput();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      auto result_element_type_fn = [&](int index) {
        return mlir::cast<TensorType>(op->getResult(index).getType())
            .getElementType();
      };
    
      llvm::SmallVector<ShapedTypeComponents, 4> inferred_return_shapes;
      if (failed(InferReturnTypeComponentsForTFOp(
              /*location=*/std::nullopt, op, graph_version_, operand_as_constant_fn,
              op_result_as_shape_fn, result_element_type_fn,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        MLIRContext *context, std::optional<Location> location,
        ValueShapeRange operands, DictionaryAttr attributes, OpaqueProperties,
        RegionRange regions,
        SmallVectorImpl<ShapedTypeComponents> &inferredReturnShapes) {
      XlaBroadcastHelperOpAdaptor op(operands.getValues(), attributes);
      Value lhs = op.getLhs();
      Value rhs = op.getRhs();
      auto set_unranked_results = [&]() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top