From 9fa0e2ba784ce76574ded61f286c1ef3b6617594 Mon Sep 17 00:00:00 2001 From: ivy-branch Date: Mon, 22 Jan 2024 12:42:48 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Lint=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- binaries.json | 2 +- ivy/compiler/compiler.py | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/binaries.json b/binaries.json index 107ae5776eb88..649ad6ff15915 100644 --- a/binaries.json +++ b/binaries.json @@ -71,4 +71,4 @@ } ] } -} \ No newline at end of file +} diff --git a/ivy/compiler/compiler.py b/ivy/compiler/compiler.py index 4c6a46ed0a7a3..1404fd94969a2 100644 --- a/ivy/compiler/compiler.py +++ b/ivy/compiler/compiler.py @@ -21,7 +21,8 @@ def trace_graph( params_v=None, v=None ): - """Takes `fn` and traces it into a more efficient composition of backend operations. + """Takes `fn` and traces it into a more efficient composition of backend + operations. Parameters ---------- @@ -91,8 +92,8 @@ def trace_graph( >>> start = time.time() >>> graph(x) >>> print(time.time() - start) - 0.0001785755157470703""" - + 0.0001785755157470703 + """ from ._compiler import trace_graph as _trace_graph return _trace_graph( @@ -156,8 +157,8 @@ def transpile( Returns ------- - Either a transpiled Graph or a non-initialized LazyGraph.""" - + Either a transpiled Graph or a non-initialized LazyGraph. + """ from ._compiler import transpile as _transpile return _transpile(