Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

      const int64_t flat_size = input_type.getNumElements();
      const int64_t width = flat_size / depth;
      SmallVector<int64_t, 4> input_new_shape({1, 1, width, depth});
      auto reshaped_input =
          InsertReshapeOp(fc_op.getLoc(), input, input_type.getElementType(),
                          input_new_shape, &rewriter);
    
      // Insert a reshape after the weight.
      // We will reshape the weight into [output, 1, 1, depth]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top