Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getIsPacked (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      const mlir::ArrayAttr partition_dims = op.getPartitionDims();
      for (const mlir::Attribute &dim : partition_dims) {
        num_partitions *= dim.cast<IntegerAttr>().getInt();
      }
    
      const bool is_packed = op.getIsPacked();
      const bool replicated = partition_dims.empty();
      const int num_inputs_expected = is_packed ? 1 : num_partitions;
    
      if (!((replicated && !is_packed) || (op.getN() == num_inputs_expected))) {
    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