code
stringlengths
3
6.57k
if (self.upperCut >= other.upperCut)
Range(newLower, newUpper)
_validate_cutpoints(*pts)
all(map(lambda x: (hasattr(x, "__lt__")
hasattr(x, "__gt__")
hasattr(x,'__cmp__')
ValueError("Cutpoint type(s)
len(pts)
not (issubclass(type(pts[0])
type(pts[1])
issubclass(type(pts[1])
type(pts[0])
ValueError("Cutpoints are not compatible")
_get_type(*pts)
len(pts)
type(pts[0])
len(pts)
issubclass(type(pts[0])
type(pts[1])
type(pts[1])
issubclass(type(pts[1])
type(pts[0])
type(pts[0])
ValueError("Cutpoints are not compatible")
closed(lower, upper)
endpoints (i.e. [lower, upper])
type(s)
Range._validate_cutpoints(lower, upper)
Range._get_type(lower,upper)
Range(Cut.belowValue(lower, theType=theType)
Cut.aboveValue(upper, theType=theType)
closedOpen(lower, upper)
endpoint (i.e. [lower, upper)
type(s)
Range._validate_cutpoints(lower, upper)
Range._get_type(lower,upper)
Range(Cut.belowValue(lower, theType=theType)
Cut.belowValue(upper, theType=theType)
openClosed(lower, upper)
upper (i.e. (lower, upper])
type(s)
Range._validate_cutpoints(lower, upper)
Range._get_type(lower,upper)
Range(Cut.aboveValue(lower, theType=theType)
Cut.aboveValue(upper, theType=theType)
open(lower, upper)
endpoints (i.e. (lower, upper)
type(s)
type (v,v)
object (lower, upper)
Range._validate_cutpoints(lower, upper)
Range._get_type(lower,upper)
TypeError("Range of type (v,v)
Range(Cut.aboveValue(lower, theType=theType)
Cut.belowValue(upper, theType=theType)
lessThan(val)
value (i.e. (-inf, val)
object (-inf, val)
Range._validate_cutpoints(val)
Range._get_type(val)
Range(Cut.belowAll(theType=theType)
Cut.belowValue(val, theType=theType)
atMost(val)
value (i.e. (-inf, val])
Range._validate_cutpoints(val)
Range._get_type(val)
Range(Cut.belowAll(theType=theType)
Cut.aboveValue(val, theType=theType)
greaterThan(val)
value (i.e. (val, inf])
object (val, inf)
Range._validate_cutpoints(val)
Range._get_type(val)
Range(Cut.aboveValue(val,theType=theType)
Cut.aboveAll(theType=theType)
atLeast(val)
value (i.e. [val, inf)
Range._validate_cutpoints(val)
Range._get_type(val)
Range(Cut.belowValue(val, theType=theType)
Cut.aboveAll(theType=theType)
dbc_dict('nissan_x_trail_2017', None)
dbc_dict('nissan_leaf_2018', None)
dbc_dict('nissan_leaf_2018', None)
dbc_dict('nissan_x_trail_2017', None)
dbc_dict('nissan_x_trail_2017', None)
Download(Core)
parse_response(self, response)
self.__logger.debug('Saving file to download path: {}'.format(Settings.download_path)
open(Settings.download_path, 'wb+')
response.raw.stream(1024, decode_content=False)
f.write(chunk)
self.__logger.debug('File saved successfully')
CSP(SingleStageDetector)
super(CSP, self)
builder.build_head(refine_head)
show_input_debug(self, img, classification_maps, scale_maps, offset_maps)
img.cpu()
numpy()
copy()