Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OperandsBroadcastToOutputType (0.19 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

    def AreBroadcastableTypes : Constraint<CPred<
      "TFL::IsBroadcastableElementsAttrAndType($0.getType(), $1.getType())">>;
    
    def OperandsBroadcastToOutputType : Constraint<CPred<
      "TFL::OperandsBroadcastToOutputType($0.getType(), $1.getType(), "
                                         "$2.getType())">>;
    
    def IsTailOfShape : Constraint<CPred<
      "TFL::IsTailOfShape($0.getType(), $1.getType())">>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize.cc

    }
    
    // Returns whether the resultant type of any broadcastable operation with
    // operands `a` and `b` matches `expected_output`. Returns false if `a` is not
    // broadcast-compatible with `b`.
    bool OperandsBroadcastToOutputType(Type a, Type b, Type expected_output) {
      Type output_element_type =
          mlir::cast<ShapedType>(expected_output).getElementType();
      Type broadcasted_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (1)
Back to top