Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 112 of 112 for ShapedType (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      );
    
      DerivedTypeAttr dtype = DerivedTypeAttr<
          "return getElementTypeOrSelf(resource_subtype());">;
      DerivedAttr shape = DerivedAttr<
          "ShapedType",
          "return resource_subtype().cast<ShapedType>();",
          [{ mlir::TF::ShapeAttr::get($_ctxt, $_self) }]>;
    
      let extraClassDeclaration = [{
        TensorType resource_subtype() { return resource_type().getSubtypes()[0]; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        for (auto& dim : shape_ref) {
          // translate dynamic shapes from mlir to tfl values
          shape.push_back(
              dim == mlir::ShapedType::kDynamic ? 1 : static_cast<int>(dim));
          shape_signature.push_back(static_cast<int>(
              dim == mlir::ShapedType::kDynamic ? tensorflow::kTFDynamicSize
                                                : dim));
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top