Browse Source

Remove unnecessary functions

pull/3/head
troyyyyy 3 years ago
parent
commit
7b4c1b6390
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      abl/utils/utils.py

+ 0
- 5
abl/utils/utils.py View File

@@ -3,11 +3,6 @@ from .plog import INFO
from collections import OrderedDict
from itertools import chain

def nested_length(l):
if not isinstance(l[0], (list, tuple)):
return 1
return len(l)

def flatten(l):
if not isinstance(l[0], (list, tuple)):
return l


Loading…
Cancel
Save