Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for needs_truncation (0.12 sec)

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

      SmallVector<int32_t> shape;
      shape.reserve(output_shape.size());
    
      bool needs_truncation = true;
      for (size_t dim_idx = 0; dim_idx < output_shape.size(); ++dim_idx) {
        int64_t dim = output_shape[dim_idx];
        if (truncate && needs_truncation && dim == 1) {
          continue;
        } else if (needs_truncation && dim != 1) {
          needs_truncation = false;
        }
        shape.push_back(ShapedType::isDynamic(dim) ? -1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top