15 lines
326 B
Python
15 lines
326 B
Python
|
import magic
|
||
|
magic.hocuspocus(inform_cache_hit=True, inform_cache_miss=True, inform_cache_write=False, verbose=True)
|
||
|
|
||
|
print('hi')
|
||
|
import numpy as np
|
||
|
import torch
|
||
|
|
||
|
print("Running actual code:")
|
||
|
np_array = np.array([1, 2, 3])
|
||
|
print(f"Numpy array: {np_array}")
|
||
|
|
||
|
tensor = torch.tensor([1, 2, 3])
|
||
|
print(f"Torch tensor: {tensor}")
|
||
|
|