Skip to content

Commit 1c34917

Browse files
committed
Add import.
1 parent 6a361c5 commit 1c34917

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graph_net/torch/sample_passes/agent_unittest_generator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
{%- endif -%}
2525
{{"\n"}}
2626
import torch
27+
from torch import device
2728
2829
2930
{% macro get_input_tensor_instance(tensor_meta, device) -%}

0 commit comments

Comments
 (0)