Skip to content

Commit bae2d64

Browse files
Linter
1 parent e9fe44e commit bae2d64

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

example.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import cvxpy as cp
22
import torch
3+
34
from cvxtorch import TorchExpression
45

56
n = 5
@@ -15,4 +16,4 @@
1516
tch_exp_eval = tch_exp.torch_expression #Torch expression evaluation function.
1617
tch_exp_dict = tch_exp.variables_dictionary #Variables mapping
1718
tch_res = tch_exp_eval(tch_x, tch_y) #Contains a torch.Tensor [7.0]*n
18-
print(f"The result tensor is {tch_res}.")
19+
print(f"The result tensor is {tch_res}.")

0 commit comments

Comments
 (0)