MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / contains

Method contains

tensorflow/python/debug/cli/command_parser.py:42–47  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

40 self.end_included = end_included
41
42 def contains(self, value):
43 if value < self.start or value == self.start and not self.start_included:
44 return False
45 if value > self.end or value == self.end and not self.end_included:
46 return False
47 return True
48
49 def __eq__(self, other):
50 return (self.start == other.start and

Callers 15

testIntervalContainsMethod · 0.95
_list_profile_filterFunction · 0.80
ExtractStackFunction · 0.80
testRunMethod · 0.80
testGetInputIndexMethod · 0.80
testGetOutputIndexMethod · 0.80
testInvalidDelegateMethod · 0.80
testNullDelegateMethod · 0.80

Calls

no outgoing calls

Tested by 15

testIntervalContainsMethod · 0.76
testRunMethod · 0.64
testGetInputIndexMethod · 0.64
testGetOutputIndexMethod · 0.64
testInvalidDelegateMethod · 0.64
testNullDelegateMethod · 0.64
testCopyToWrongTypeMethod · 0.64
testCopyToWrongShapeMethod · 0.64