Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetIntegerHLOAxisFromTFAxis (0.49 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    // corresponding to the tensorflow axis. In particular, the tensorflow axis can
    // be negative, in which case, the corresponding HLO axis is
    // (axis + rank-of-the-tensor).
    static std::optional<int64_t> GetIntegerHLOAxisFromTFAxis(Value value,
                                                              int64_t rank) {
      DenseIntElementsAttr attrs;
      if (!matchPattern(value, m_Constant(&attrs)) ||
          attrs.getType().getRank() != 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top