-
```fortran
program main
real(4) :: xpt(1, 1)
call rescue(xpt)
contains
subroutine rescue(xpt)
real(4), intent(inout) :: xpt(:, :)
print *, sqrt(sum(xpt**2, dim=1…
-
MRE
```Fortran
program a
integer :: gnew(5)
integer :: loc(3)
integer :: res(3)
gnew = [10,20,30,40,50]
loc = [4,5,1]
print *, loc
res = gnew(loc)
print …
-
```fortran
program max_01
real(8) :: y
real :: z
y = 5.2d0
z = 9.0
print *, max(y, z)
end program
```
```console
$ lfortran tests/errors/max_01.f90
warning: Different ki…
-
I am trying to finetune the whisper pre-trained model using my custom dataset. I have prepared a run_whisper.sh script after following [this](https://huggingface.co/espnet/shihlun_asr_whisper_medium_f…
-
```
import nemo.collections.asr as nemo_asr
asr_model = nemo_asr.models.EncDecCTCModel.from_pretrained("path_to_model.nemo")
transcript = asr_model.transcribe(paths=["path_to_audio.wav"], batch…
-
```fortran
subroutine sub()
real :: gnew(5)
integer :: xbdi(5)
print *, sum(gnew(trueloc(gnew == 0)))
contains
function trueloc(x) result(loc)
logical, intent(in) :: x(:)
integer, allocatabl…
-
**My observation**
- With https://github.com/ys-zong/VLGuard/blob/main/VLGuard_eval.py, I am able to reproduce results not too far from Table 2 for **VLGuard dataset**.
- However, **I cannot reprodu…
-
MRE
```
program test
implicit none
integer :: a(:)
end program
```
GFortan error
```
(lf) lordansh@LordAnsh:~/dev/lfort1/lfortran$ gfortran try.f90
try.f90:3:15:
3 | integer :: a(…
-
Can you please specify the exact Pretrained Wav2Vec2 weights used and where to place them to make the script work? Thanks
-
This is much required feature for anyone to understand how openmp pass works and therefore I'll ask @adit4443ya to prioritise it before getting on to implement `collapse` in openmp pass. This will hel…