query stringlengths 10 2k | document stringlengths 20 51.2k | metadata dict | negatives listlengths 0 101 | negative_scores listlengths 0 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
Read a raw file into a list of Sentences. | def read_raw(f):
if type(f) is str:
f = file(f, "r")
for (li,line) in enumerate(f):
sent = process_sgml_line(line)
mark = sent.getmark()
if mark:
tag, attrs = mark
attrs = attrs_to_dict(attrs)
if False and tag == "seg" and "id" in attrs:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def read_file(input_file):\n with open(input_file, \"r\", encoding=\"utf-8-sig\") as f:\n sentences = f.read().splitlines()\n return sentences",
"def _read_sentences(filename):\n with tf.gfile.GFile(filename, \"r\") as f:\n return [sentence.split() for sentence in f.read().split('\\n')]",
... | [
"0.77226895",
"0.7688293",
"0.7130299",
"0.7058475",
"0.6907598",
"0.67035824",
"0.66702956",
"0.6655785",
"0.6560921",
"0.6560921",
"0.6558752",
"0.65419894",
"0.6525789",
"0.652241",
"0.6511044",
"0.65064627",
"0.64996123",
"0.64872473",
"0.64834857",
"0.6471241",
"0.647055... | 0.0 | -1 |
Computes the residual vector r and its norm, beta, which is minimized by GMRES. | def gmres_residual(A_mv: Callable, A_args: Sequence, b: jax.ShapedArray,
x: jax.ShapedArray) -> Tuple[jax.ShapedArray, float]:
r = b - A_mv(x, *A_args)
beta = jnp.linalg.norm(r)
return r, beta | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def residual(self, y,r):\n u,v,tt = self.split(y)\n fiu,fiv,fitt = self.problem.internal_forces(u,v,tt)\n R = np.concatenate((fiu,fiv,fitt))\n R = self.residualApplyBCs(R,y,r)\n return R",
"def get_residual(self, beta: ndarray) -> ndarray:\n return self.data.weight*(self... | [
"0.69030577",
"0.68404454",
"0.6596661",
"0.6463848",
"0.6344658",
"0.63295376",
"0.6283406",
"0.6267384",
"0.6263794",
"0.62514615",
"0.6221709",
"0.6146919",
"0.61445266",
"0.6131107",
"0.6113608",
"0.61097836",
"0.6103144",
"0.6083334",
"0.6065997",
"0.6033683",
"0.6020700... | 0.68639606 | 1 |
create random string using string.printable | def create_random_string(total_character):
feed=string.printable
words=""
i=0
while i < total_character:
words += feed[random.randrange(0,len(feed)-1)]
i+=1
return words | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rand_string():\n out = ''\n for _ in range(24):\n out += choice(ascii_letters)\n return out",
"def generate_random_string():\n return \"\".join(random.choice(string.ascii_lowercase + string.digits) for _ in range(16)) # nosec",
"def generateRandomString():\n return ''.join(b64encode(... | [
"0.76754934",
"0.74476475",
"0.7420788",
"0.7411069",
"0.7401505",
"0.72970307",
"0.72862035",
"0.7236748",
"0.7232668",
"0.71930367",
"0.717935",
"0.71791947",
"0.71789944",
"0.71474946",
"0.7141961",
"0.7137273",
"0.712956",
"0.71288073",
"0.712568",
"0.71228766",
"0.710253... | 0.74168414 | 3 |
Returns the rotation matrix equivalent of the given quaternion. This function is used by the get_refined_rotation() function. | def get_rotation_matrix_from_quaternion(q):
R = np.matrix([[q[0] * q[0] + q[1] * q[1] - q[2] * q[2] - q[3] * q[3],
2 * (q[1] * q[2] - q[0] * q[3]),
2 * (q[1] * q[3] + q[0] * q[2])],
[2 * (q[2] * q[1] + q[0] * q[3]),
q[0] * q[0] - q[1] * ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def quaternion_to_rotation_matrix(quaternion):\n\n q_w, q_x, q_y, q_z = quaternion\n sqw, sqx, sqy, sqz = np.square(quaternion)\n norm = (sqx + sqy + sqz + sqw)\n rotation_matrix = np.zeros((3, 3))\n\n # division of square length if quaternion is not already normalized\n rotation_matrix[0, 0] = (... | [
"0.8077829",
"0.79751414",
"0.7973847",
"0.797261",
"0.79455817",
"0.79306656",
"0.79097867",
"0.780534",
"0.7727341",
"0.77201724",
"0.77022475",
"0.7419111",
"0.74067664",
"0.7311962",
"0.7208562",
"0.7142397",
"0.71323454",
"0.71113116",
"0.70910096",
"0.7048041",
"0.69940... | 0.8253612 | 0 |
Returns the rotation matrix that rotates a vector around the given axis by the given angle using the "EulerRodrigues formula". | def get_3drotation_matrix(axis, angle):
angle = angle #*-1
norm = np.linalg.norm(np.array(axis))
if norm > 0:
axis /= norm
ax, ay, az = axis[0], axis[1], axis[2]
cos, sin = np.cos(angle), np.sin(angle)
rotmat = np.array([[cos + ax * ax * (1 - cos), ax * ay * (1 - cos) - az *... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rotateEuler(axis, angle):\n if(axis == 'Z'):\n return np.array([[cos(angle), -sin(angle),0,0],[sin(angle), cos(angle),0,0],[0,0,1,0],[0,0,0,1]])\n if(axis == 'Y'):\n return np.array([[cos(angle),0,sin(angle),0],[0,1,0,0],[-sin(angle),0,cos(angle),0],[0,0,0,1]])\n if(axis == 'X'):\n ... | [
"0.7911063",
"0.788436",
"0.7837863",
"0.77911395",
"0.77726126",
"0.77274466",
"0.7598185",
"0.75942045",
"0.753307",
"0.7435765",
"0.7434122",
"0.7428991",
"0.74156046",
"0.7338308",
"0.732471",
"0.7321008",
"0.7264772",
"0.71720546",
"0.7159397",
"0.71509737",
"0.7136716",... | 0.7117221 | 21 |
Returns the normal vector of a plane defined by the points p1,p2 and p3. | def get_normal_vector_of_plane(p1, p2, p3):
v12 = np.array(p1) - np.array(p2)
v13 = np.array(p1) - np.array(p3)
nvec = np.cross(v12, v13)
## print 'norm: '+str(np.linalg.norm(nvec))
return nvec / np.linalg.norm(nvec) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def normal(self) -> Vec:\n # The three points are in clockwise order, so compute differences\n # in the clockwise direction, then cross to get the normal.\n point_1 = self.planes[1] - self.planes[0]\n point_2 = self.planes[2] - self.planes[1]\n\n return Vec.cross(point_1, point_2... | [
"0.7993883",
"0.75612503",
"0.7551127",
"0.75036335",
"0.73087484",
"0.70266545",
"0.6976466",
"0.69476783",
"0.69432104",
"0.68638694",
"0.6826915",
"0.6760271",
"0.67263806",
"0.670698",
"0.66756666",
"0.66190445",
"0.65483314",
"0.6541516",
"0.6535791",
"0.6529659",
"0.651... | 0.88373834 | 0 |
Fixture for company object passed as an argument to the company create view test function | def company():
company = Company.objects.create(name='Tre G.M.B.H.', country='Germany')
return company | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_website_companies_create(self):\n pass",
"def test_create_company_1(self):\n company_data = {\n \"_id\": \"sbucks\",\n \"headquarters\": \"Seattle\",\n \"name\": \"Starbucks Inc.\",\n }\n\n resp = self.app.post('/companies', data=json.dumps(co... | [
"0.7572055",
"0.6949927",
"0.6910108",
"0.6783742",
"0.6782509",
"0.6768939",
"0.6648319",
"0.64719594",
"0.62653613",
"0.62246877",
"0.61053544",
"0.60505855",
"0.604088",
"0.60324633",
"0.5979618",
"0.5958282",
"0.59542584",
"0.5907634",
"0.58789223",
"0.58328825",
"0.58327... | 0.662038 | 7 |
Resets the accumulated statistics back to initial state for metric data. | def reset_metric_stats(self):
self.__stats_table = {} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def reset(self):\n self.sum_metric = 0.\n self.num_inst = 0.\n self.metrics.reset_stats()",
"def reset_metric_stats(self):\n\n self.__stats_table = {}",
"def stats_reset(self):\n self.stats.reset()",
"def stats_reset(self):\n self.stats.reset()",
"def reset(self) -... | [
"0.8448358",
"0.84143066",
"0.83299094",
"0.83299094",
"0.8270503",
"0.8153123",
"0.79735655",
"0.7772603",
"0.77270293",
"0.77003264",
"0.76665866",
"0.7614711",
"0.75709176",
"0.7540221",
"0.75036174",
"0.75036174",
"0.7490715",
"0.7471787",
"0.74488425",
"0.74488425",
"0.7... | 0.83412653 | 2 |
Returns a list containing any slow transaction data collected during the reporting period. NOTE Currently only the slowest transaction for the reporting period is retained. | def slow_transaction_data(self):
# XXX This method no longer appears to be used. Being replaced
# by the transaction_trace_data() method.
if not self.__settings:
return []
if not self.__slow_transaction:
return []
maximum = self.__settings.agent_limits... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def transaction_trace_data(self, connections):\n\n _logger.debug('Generating transaction trace data.')\n\n if not self.__settings:\n return []\n\n # Create a set 'traces' that is a union of slow transaction,\n # and Synthetics transactions. This ensures we don't send\n ... | [
"0.6520807",
"0.5953189",
"0.5941957",
"0.5698872",
"0.56704205",
"0.55845326",
"0.55000305",
"0.54975384",
"0.53581554",
"0.5356301",
"0.5327412",
"0.53010184",
"0.5276863",
"0.52720934",
"0.5257284",
"0.52468723",
"0.5164559",
"0.5162055",
"0.51554185",
"0.5149581",
"0.5126... | 0.72200763 | 0 |
Resets the accumulated statistics back to initial state for metric data. | def reset_metric_stats(self):
self.__stats_table = {} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def reset(self):\n self.sum_metric = 0.\n self.num_inst = 0.\n self.metrics.reset_stats()",
"def reset_metric_stats(self):\n self.__stats_table = {}",
"def stats_reset(self):\n self.stats.reset()",
"def stats_reset(self):\n self.stats.reset()",
"def reset(self) -> ... | [
"0.8448358",
"0.83412653",
"0.83299094",
"0.83299094",
"0.8270503",
"0.8153123",
"0.79735655",
"0.7772603",
"0.77270293",
"0.77003264",
"0.76665866",
"0.7614711",
"0.75709176",
"0.7540221",
"0.75036174",
"0.75036174",
"0.7490715",
"0.7471787",
"0.74488425",
"0.74488425",
"0.7... | 0.84143066 | 1 |
Resets the accumulated statistics back to initial state for sample analytics data. | def reset_transaction_events(self):
if self.__settings is not None:
self._transaction_events = SampledDataSet(
self.__settings.event_harvest_config.
harvest_limits.analytic_event_data)
else:
self._transaction_events = SampledDataSet() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def stats_reset(self):\n self.stats.reset()",
"def stats_reset(self):\n self.stats.reset()",
"def reset(self) -> None:\n self.statistics = defaultdict(float)",
"def reset(self) -> None:\n self.statistics = defaultdict(int)",
"def reset(self):\n self.stats = {}",
"def re... | [
"0.8175733",
"0.8175733",
"0.81559753",
"0.81235486",
"0.78766066",
"0.78731924",
"0.77236235",
"0.76826066",
"0.7648331",
"0.7643053",
"0.75607705",
"0.7420023",
"0.73855245",
"0.735026",
"0.735026",
"0.735026",
"0.7306659",
"0.7305569",
"0.72605497",
"0.72255266",
"0.714615... | 0.0 | -1 |
Creates a snapshot of the accumulated statistics, error details and slow transaction and returns it. This is a shallow copy, only copying the top level objects. The originals are then reset back to being empty, with the exception of the dictionary mapping metric (name, scope) to the integer identifiers received from th... | def harvest_snapshot(self, flexible=False):
snapshot = self._snapshot()
# Data types only appear in one place, so during a snapshot it must be
# represented in either the snapshot or in the current stats object.
#
# If we're in flexible harvest, the goal is to have everything ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_flat_results(self):\n test_results, error_dict, framestats = self.get_results()\n test_results = self._merge_test_results(test_results, error_dict)\n\n results = copy.deepcopy(test_results)\n results.update(framestats)\n\n return results",
"def __copy__(self) :\n ... | [
"0.5934949",
"0.58573073",
"0.5802806",
"0.5787985",
"0.5758199",
"0.5758142",
"0.57447433",
"0.57192504",
"0.56812185",
"0.56527025",
"0.5649071",
"0.56446093",
"0.5642422",
"0.5546954",
"0.5542068",
"0.5531035",
"0.5524276",
"0.55112106",
"0.54917693",
"0.54811484",
"0.5465... | 0.0 | -1 |
Open the passed file in readbinary mode and write the binary to a string. | def openAndPack(filename):
inputfile = open(filename, 'rb')
return inputfile.read() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_file_bin_readwrite(self):\n FileWriter(self.binary_path).write_bin(self.binary_string)\n bin_data = FileReader(self.binary_path).read_bin()\n self.assertEqual(bin_data, self.binary_string)",
"def get_binary(self, filepath):\n with open(filepath, \"rb\") as f:\n ret... | [
"0.69785064",
"0.684996",
"0.65437925",
"0.6293273",
"0.62410367",
"0.62361705",
"0.61142075",
"0.6071782",
"0.6044688",
"0.5978211",
"0.59639037",
"0.5924334",
"0.5889725",
"0.5753386",
"0.5673814",
"0.5615943",
"0.5607474",
"0.5558819",
"0.55509293",
"0.5521247",
"0.5515765... | 0.5054163 | 74 |
Converts either bytes or unicode to `bytes`, using utf8 encoding for text. | def as_bytes(bytes_or_text, encoding='utf-8'):
if isinstance(bytes_or_text, _six.text_type):
return bytes_or_text.encode(encoding)
elif isinstance(bytes_or_text, bytes):
return bytes_or_text
else:
raise TypeError('Expected binary or unicode string, got %r' %
(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _to_bytes(value: Union[str, bytes]) -> bytes:\n return value if isinstance(value, bytes) else value.encode(\"utf-8\")",
"def ensure_utf8_bytes(v: Union[str, bytes]) -> bytes:\n if isinstance(v, str):\n v = v.encode(\"utf-8\")\n return v",
"def force_utf8(text):\n if isinstance(text, bina... | [
"0.78761524",
"0.78181183",
"0.78134924",
"0.77963704",
"0.7775173",
"0.77212256",
"0.7695007",
"0.76554793",
"0.76551324",
"0.76297563",
"0.7587289",
"0.75190413",
"0.74554324",
"0.74133134",
"0.74104327",
"0.74089986",
"0.73655003",
"0.73444015",
"0.72940016",
"0.72861797",
... | 0.7902959 | 0 |
DO NOT EDIT Determine if two nodes are equal (same value) | def __eq__(self, other):
if other is None:
return False
if self.value == other.value:
return True
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def __eq__(self, other):\n return type(self) == type(other) and self.node is other.node",
"def nodes_are_equal(node1, node2):\n\n try:\n return dump_ast(node1).strip() == dump_ast(node2).strip() and \\\n node1.lineno == node2.lineno and \\\n node1.col_offset == node2.co... | [
"0.76085",
"0.7590751",
"0.7546388",
"0.7519825",
"0.7519825",
"0.7519825",
"0.7519825",
"0.7519825",
"0.74666744",
"0.73625326",
"0.73597276",
"0.73304427",
"0.7314779",
"0.7209392",
"0.7208096",
"0.71472955",
"0.71115476",
"0.710639",
"0.710639",
"0.7105356",
"0.7098044",
... | 0.0 | -1 |
DO NOT EDIT Create/initialize an empty linked list | def __init__(self, data=None):
self.head = None # Node
self.tail = None # Node
self.size = 0 # Integer
if data:
[self.push_back(i) for i in data] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def __init__(self):\n node = ListNode(0) # dummy\n self.head = node\n self.tail = node\n self.len = 0",
"def __init__(self, lst=[]):\n self.__length = 0 # current length of the linked list\n self.__head = None # pointer to the first node in the list\n for e in ... | [
"0.77725506",
"0.77538705",
"0.7744785",
"0.76412094",
"0.7635089",
"0.7626129",
"0.76229495",
"0.7537509",
"0.75358",
"0.75358",
"0.7468231",
"0.7464318",
"0.74601215",
"0.7418059",
"0.7418059",
"0.7418059",
"0.74112684",
"0.7407795",
"0.73824275",
"0.73780024",
"0.73205614"... | 0.6659353 | 94 |
DO NOT EDIT Defines "==" (equality) for two linked lists | def __eq__(self, other):
if self.size != other.size:
return False
if self.head != other.head or self.tail != other.tail:
return False
# Traverse through linked list and make sure all nodes are equal
temp_self = self.head
temp_other = other.head
wh... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def __eq__(self, other: LinkedList) -> bool:\n curr1 = self._first\n curr2 = other._first\n are_equal = True\n\n while are_equal and curr1 is not None and curr2 is not None:\n if curr1.item != curr2.item:\n are_equal = False\n curr1 = curr1.next\n ... | [
"0.82909065",
"0.77274597",
"0.76242423",
"0.75131154",
"0.7275534",
"0.7268777",
"0.714763",
"0.714763",
"0.714763",
"0.714763",
"0.714763",
"0.71005964",
"0.7045595",
"0.70243096",
"0.6943484",
"0.69265825",
"0.6903196",
"0.6843115",
"0.68402064",
"0.6791717",
"0.676546",
... | 0.7345923 | 4 |
DO NOT EDIT String representation of a linked list | def __repr__(self):
temp_node = self.head
values = []
if temp_node is None:
return str([])
while temp_node is not None:
values.append(temp_node.value)
temp_node = temp_node.next_node
return str(values) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def __str__(self):\n temp = self.__head\n ss = []\n while temp is not None:\n ss.append(str(temp.data))\n temp = temp.next_node\n return ('\\n'.join(ss))",
"def to_string(self):\n try:\n items = \" \"\n current = self.head\n ... | [
"0.72847897",
"0.7202857",
"0.71419424",
"0.71419424",
"0.6963336",
"0.69505835",
"0.6936421",
"0.6885288",
"0.6866368",
"0.6856697",
"0.68190056",
"0.67749923",
"0.6762058",
"0.6762058",
"0.67520875",
"0.6743596",
"0.66924685",
"0.6669105",
"0.6654589",
"0.6606938",
"0.65600... | 0.6343675 | 30 |
Adds a node to the front of the list with value 'val' | def push_front(self, val):
new_node = Node(val, self.head)
if self.is_empty():
self.tail = new_node
self.head = new_node
self.size += 1 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def push_front(self, val: Generic[T]) -> None:\n first_node = self.node.next\n\n self.node.next = Node(val)\n latest_first = self.node.next\n\n latest_first.prev = self.node #pushes the node to the front\n latest_first.next = first_node\n first_node.prev = latest_f... | [
"0.80221725",
"0.7826861",
"0.7751701",
"0.77292",
"0.7605654",
"0.75942093",
"0.75738394",
"0.755168",
"0.7545137",
"0.7532508",
"0.75297654",
"0.75297654",
"0.75270396",
"0.75006205",
"0.7481478",
"0.7417329",
"0.7411148",
"0.7410026",
"0.7406186",
"0.74055594",
"0.738027",... | 0.7917012 | 1 |
Adds a node to the back of the list with value 'val' | def push_back(self, val):
new_node = Node(val)
# Update current head and tail, if necessary
if self.is_empty():
self.head = new_node
else:
self.tail.next_node = new_node
# new_node is now the tail
self.tail = new_node
self.size += 1 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def push_back(self, val: Generic[T]) -> None:\n last_node = self.node.prev\n self.node.prev = Node(val) #pushes the node to the back\n latest_first = self.node.prev\n\n latest_first.next = self.node #rearranges the list\n latest_first.prev = last_node\n ... | [
"0.8086445",
"0.7602821",
"0.75396514",
"0.74361414",
"0.7427383",
"0.7410255",
"0.74002004",
"0.7388654",
"0.73812497",
"0.7362498",
"0.7361017",
"0.73132956",
"0.73118097",
"0.7306703",
"0.72853166",
"0.7268352",
"0.72647965",
"0.7225639",
"0.7210625",
"0.7206143",
"0.71408... | 0.80715704 | 1 |
Return processed list of words from raw text input To be honest, we're currently using sklearn CountVectorizer and keras text_to_word_sequence instead of this function. | def process_text(text, tokenize=tokenize1, filter=filter1, stem=None, lower=True):
assert tokenize, "Must provide tokenize method for preprocess_text"
if not text: return []
if lower: text = text.lower()
words = tokenize(text)
if filter: words = [w for w in words if filter(w)]
if stem: words = [... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def preprocessing(raw_text):\n words_list = tokenize(raw_text)\n words_list = remove_stop_words(words_list)\n words_list = remove_punctuations(words_list)\n words_list = lemmatization(words_list)\n return words_list",
"def words(self, text):\n return re.findall(r'\\w+', text)",
"def token... | [
"0.73962986",
"0.7058597",
"0.7052718",
"0.7027226",
"0.700164",
"0.699",
"0.69413567",
"0.6924657",
"0.68807524",
"0.6822172",
"0.680491",
"0.6783017",
"0.6780739",
"0.6760617",
"0.67566645",
"0.674435",
"0.6730428",
"0.67244",
"0.6674279",
"0.6671103",
"0.6661868",
"0.665... | 0.62860745 | 65 |
Custom collate_fn that is called with list of multivariate samples to yield a minibatch It preserves the data structure, e.g., if each sample is a dictionary, it outputs a dictionary with the same set of keys but batched Tensors as values (or lists if the values can not be converted into Tensors). | def collate_fn(sample_list):
x_ref_batch = []
x_pos_batch = []
x_negs_batch = []
label_batch = []
for sample in sample_list:
x_ref_batch.append(sample["x_ref"])
x_pos_batch.append(sample["x_pos"])
x_negs_batch.append(sample["x_negs"])
label_batch.append(sample["label... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def collate_fn(batch):\n\n flattened_batch = []\n for data in batch:\n num_examples = len(data['image'])\n for i in range(num_examples):\n flattened_batch.append({\n k: v[i] for k, v in data.items()\n })\n\n return default_collate(flattened_batch)",
"de... | [
"0.71019036",
"0.6699454",
"0.66386545",
"0.6537352",
"0.65236694",
"0.6492617",
"0.64010304",
"0.6400702",
"0.6383652",
"0.6318756",
"0.62709737",
"0.6211533",
"0.6105718",
"0.59736997",
"0.59524226",
"0.5950687",
"0.5934938",
"0.5909209",
"0.5867133",
"0.58421636",
"0.57569... | 0.67624515 | 1 |
Creates a new Cuckoo Filter ``key`` an initial ``capacity`` items. | def cfCreate(self, key, capacity, expansion=None, bucket_size=None, max_iterations=None):
params = [key, capacity]
self.appendExpansion(params, expansion)
self.appendBucketSize(params, bucket_size)
self.appendMaxIterations(params, max_iterations)
return self.execute_command(self... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def __init__(self, capacity=100):\n \n self.capacity = capacity\n self.size = 0\n self._keys = []\n self._entry = [[] for _ in range(capacity)]",
"def __init__(self, capacity):\n self.capacity = capacity # Number of buckets in the hash table\n self.storage = [Non... | [
"0.63611585",
"0.6257026",
"0.6124389",
"0.6099812",
"0.5895444",
"0.5895253",
"0.58910316",
"0.58668506",
"0.58037305",
"0.5686704",
"0.5662281",
"0.5616573",
"0.5591175",
"0.5572409",
"0.5540789",
"0.5507857",
"0.54945195",
"0.5490829",
"0.5490829",
"0.5490829",
"0.5427748"... | 0.675632 | 0 |
Initializes a CountMin Sketch ``key`` to characteristics (``error``, ``probability``) specified by user. | def cmsInitByProb(self, key, error, probability):
params = [key, error, probability]
return self.execute_command(self.CMS_INITBYPROB, *params) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def initialize(X, k):\n if not isinstance(X, np.ndarray) or X.ndim != 2:\n return None, None, None\n if not isinstance(k, int) or k <= 0:\n return None, None, None\n _, d = X.shape\n C, clss = kmeans(X, k)\n pi = 1 / k * np.ones(k)\n m = C\n S = np.array([np.identity(d)] * k)\n ... | [
"0.5790586",
"0.5750808",
"0.55292356",
"0.5522919",
"0.5522306",
"0.53946745",
"0.5369128",
"0.53256714",
"0.5308711",
"0.5307491",
"0.5304574",
"0.52648705",
"0.5253688",
"0.5247738",
"0.52242655",
"0.52212495",
"0.52023345",
"0.518744",
"0.5175941",
"0.51755065",
"0.516966... | 0.6565891 | 0 |
Creates a new Cuckoo Filter ``key`` with desired probability of false positives ``errorRate`` expected entries to be inserted as ``size``. | def topkReserve(self, key, k, width, depth, decay):
params = [key, k, width, depth, decay]
return self.execute_command(self.TOPK_RESERVE, *params) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bfCreate(self, key, errorRate, capacity, expansion=None, noScale=None):\n params = [key, errorRate, capacity]\n self.appendExpansion(params, expansion)\n self.appendNoScale(params, noScale)\n\n return self.execute_command(self.BF_RESERVE, *params)",
"def __init__(self, key_size=10... | [
"0.5268055",
"0.5220767",
"0.51832116",
"0.51610947",
"0.5103992",
"0.5081258",
"0.4993609",
"0.4992658",
"0.49491334",
"0.49001232",
"0.4897395",
"0.48936903",
"0.47643712",
"0.4748526",
"0.47471568",
"0.47449547",
"0.4744873",
"0.47413242",
"0.47407177",
"0.473573",
"0.4728... | 0.0 | -1 |
Return a new pipeline object that can queue multiple commands for later execution. ``transaction`` indicates whether all commands should be executed atomically. Apart from making a group of operations atomic, pipelines are useful for reducing the backandforth overhead between the client and server. Overridden in order ... | def pipeline(self, transaction=True, shard_hint=None):
p = Pipeline(
connection_pool=self.connection_pool,
response_callbacks=self.response_callbacks,
transaction=transaction,
shard_hint=shard_hint)
return p | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def pipeline(self, transaction=True, shard_hint=None):\n p = AsyncPipeline(\n connection_pool=self.client.connection_pool,\n response_callbacks=self._MODULE_CALLBACKS,\n transaction=transaction,\n shard_hint=shard_hint,\n )\n p.index_name = self.inde... | [
"0.6506651",
"0.6506439",
"0.60975367",
"0.5716096",
"0.5687337",
"0.5610756",
"0.5471087",
"0.5375021",
"0.5373202",
"0.5361515",
"0.53164816",
"0.52698827",
"0.5247132",
"0.5190451",
"0.5172265",
"0.51619154",
"0.5102271",
"0.5086458",
"0.5023004",
"0.5023004",
"0.49856988"... | 0.7290739 | 0 |
Ensure we can't create a student user without academic_ fields. | def test_create_new_student_user_missing_field(self):
data = {
'email': 'John@mailinator.com',
'password': 'test123!',
}
response = self.client.post(
reverse('user-list'),
data,
format='json',
)
self.assertEqual(respon... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_can_not_create_education_instance_without_user(self):\n\t\twith self.assertRaises(\n\t\t\tIntegrityError,\n\t\t\tmsg = 'Should raise IntegrityError if user not provided.'\n\t\t\t):\n\n\t\t\tEducation.objects.create(\n\t\t\t\tschool_name=self.school_name,\n\t\t\t\tcourse_name=self.course_name,\n\t\t\t\tsta... | [
"0.67956454",
"0.63918",
"0.636316",
"0.6349266",
"0.63289773",
"0.6238365",
"0.623791",
"0.6165642",
"0.61546856",
"0.61181474",
"0.6080576",
"0.60766065",
"0.60527575",
"0.60310954",
"0.60178196",
"0.6006018",
"0.59811884",
"0.5958835",
"0.59572184",
"0.59439963",
"0.594344... | 0.64296496 | 1 |
Ensure we can't create a new user with a weak password | def test_create_new_user_weak_password(self):
data = {
'username': 'John',
'email': 'John@mailinator.com',
'password': '19274682736',
'first_name': 'Chuck',
'last_name': 'Norris',
'university': {
"name": "random_university"
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_create_user_password_too_short(self):\n res = self.client.post(CREATE_USER_URL, {\n **self.mock_user,\n 'password': 'pw'\n })\n\n db_user = get_user_model().objects.filter(\n email=self.mock_user['email']\n )\n\n self.assertEqual(res.stat... | [
"0.7448158",
"0.7334659",
"0.73337275",
"0.7231263",
"0.7226161",
"0.72220945",
"0.714039",
"0.7128195",
"0.7127693",
"0.7122859",
"0.710582",
"0.7076057",
"0.7073139",
"0.70351803",
"0.6981093",
"0.6925133",
"0.69214153",
"0.6903709",
"0.6858862",
"0.68386996",
"0.6816049",
... | 0.6505213 | 48 |
Ensure we can't create a new user with an invalid phone number | def test_create_new_user_invalid_phone(self):
data = {
'username': 'John',
'email': 'John@mailinator.com',
'password': '1fasd6dq#$%',
'phone': '12345',
'other_phone': '23445dfg',
'first_name': 'Chuck',
'last_name': 'Norris',
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def validate_phone_number(self, phone_number):\n if User.objects.filter(phone_number=phone_number).exists():\n raise serializers.ValidationError('Phone Number already registered.')\n return phone_number",
"def test_new_user_invalid_email(self):\n with self.assertRaises(ValueError)... | [
"0.7145561",
"0.70290124",
"0.6975835",
"0.68602705",
"0.68565595",
"0.6848795",
"0.684489",
"0.6838828",
"0.68144745",
"0.6813772",
"0.6810992",
"0.6809171",
"0.68087786",
"0.68087786",
"0.68087786",
"0.68087786",
"0.68087786",
"0.6709067",
"0.67028594",
"0.6652703",
"0.6623... | 0.7310096 | 0 |
Ensure we can't create a new user with an already existing email | def test_create_new_user_duplicate_email(self):
data = {
'username': 'John',
'email': 'John@mailinator.com',
'password': 'test123!',
'phone': '1234567890',
'first_name': 'Chuck',
'last_name': 'Norris',
'university': {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_private_create_user_without_email(self):\n with pytest.raises(ValueError) as exinfo:\n EmailUser.objects._create_user(None, None, False, False)\n self.assertIn('email must be set', str(exinfo.value))",
"def test_create_use_with_invalid_email(self):\n with self.assertRaise... | [
"0.8002483",
"0.7915221",
"0.78696436",
"0.78556156",
"0.78552705",
"0.78552043",
"0.7842394",
"0.7826193",
"0.7826193",
"0.7826193",
"0.7826193",
"0.7826193",
"0.78208935",
"0.78188866",
"0.78091335",
"0.78064054",
"0.77855194",
"0.77645355",
"0.7674032",
"0.76636356",
"0.76... | 0.68754745 | 69 |
Ensure that the user is notified that no email was sent. | def test_create_user_activation_email_failure(self, send):
data = {
'username': 'John',
'email': 'John@mailinator.com',
'password': 'test123!',
'phone': '1234567890',
'first_name': 'Chuck',
'last_name': 'Norris',
'university': {... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def test_skip_blank_emails(self):\n appt_date = datetime.date.today() + datetime.timedelta(days=7) # Default for email\n confirmed = self.create_confirmed_notification(self.test_patient, appt_date)\n\n blank_contact = self.create_contact(data={'email': ''})\n self.group.contacts.add(bla... | [
"0.7036216",
"0.6975554",
"0.6825931",
"0.67460984",
"0.6742591",
"0.6721783",
"0.66891694",
"0.65338993",
"0.65338993",
"0.65253884",
"0.6507732",
"0.6412952",
"0.63811535",
"0.6334888",
"0.6278315",
"0.62352383",
"0.6226457",
"0.6224285",
"0.61838245",
"0.61838245",
"0.6182... | 0.0 | -1 |
Returns a JSON response, transforming 'context' to make the payload. | def render_to_json_response(self, context, **response_kwargs):
response_kwargs.update(dict(json_dumps_params=dict(ensure_ascii=False)))
return JsonResponse(self.safe_json(context), **response_kwargs) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def render_to_response(self, context):\n return self.get_json_response(self.convert_context_to_json(context))",
"def render_to_response(self, context):\n\t\treturn self.get_json_response(self.convert_context_to_json(context))",
"def render_to_json_response(self, context, **response_kwargs):\n ret... | [
"0.7898263",
"0.7824009",
"0.76766837",
"0.76766837",
"0.7560496",
"0.75058556",
"0.74115",
"0.74115",
"0.74115",
"0.74115",
"0.74115",
"0.73821956",
"0.73662317",
"0.7348336",
"0.7309291",
"0.7130906",
"0.6941217",
"0.6892298",
"0.6722085",
"0.663044",
"0.663044",
"0.66304... | 0.7347456 | 14 |
Return the error as a JSON response. | def throw_error(self, error, status_code=400, **extra):
data = dict(success=False, data=dict(message=error, **extra))
raise ShortCircuitHttpChain(response=JsonResponse(data, status=status_code)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def json_error(message):\n return json_response(isError=True, message=message)",
"def handle_error(error):\n response = jsonify(error.to_dict())\n response.status_code = error.status_code\n return response",
"def jsonify_exception(error: HTTPException) -> Response:\n exc_resp = error.get_response()\n ... | [
"0.7800289",
"0.77307755",
"0.7713259",
"0.7626865",
"0.7596588",
"0.75559425",
"0.7506786",
"0.74428797",
"0.7394055",
"0.73734087",
"0.7364901",
"0.73521066",
"0.7298466",
"0.72667325",
"0.7261724",
"0.7238622",
"0.7220519",
"0.72151345",
"0.71981364",
"0.7188909",
"0.71853... | 0.0 | -1 |
cast(itkLightObject obj) > itkTernaryAddImageFilterID2ID2ID2ID2_Superclass | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterID2ID2ID2ID2_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_Superclass_cast(obj)",
"def itkNotImageFilterIF2IF2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2_Superclass *\":\n return _itkNotImageFilterPytho... | [
"0.83064026",
"0.8255792",
"0.8157398",
"0.81537783",
"0.8102101",
"0.8073973",
"0.80381954",
"0.800663",
"0.7993588",
"0.79927564",
"0.7985042",
"0.79630977",
"0.79616165",
"0.77700764",
"0.7733867",
"0.7707605",
"0.7705628",
"0.767445",
"0.7638304",
"0.761557",
"0.7609519",... | 0.7650135 | 18 |
New() > itkTernaryAddImageFilterID2ID2ID2ID2_Superclass Create a new object of the class itkTernaryAddImageFilterID2ID2ID2ID2_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterID2ID2ID2ID2_Superclass.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass.__New_orig__()\n ... | [
"0.762808",
"0.75490963",
"0.74511015",
"0.7423488",
"0.7417358",
"0.73689806",
"0.7338099",
"0.72890794",
"0.7233506",
"0.72322845",
"0.71680635",
"0.7162203",
"0.7157877",
"0.7050944",
"0.7018189",
"0.7015261",
"0.701475",
"0.7012063",
"0.69447744",
"0.69441223",
"0.6889131... | 0.7865722 | 0 |
itkTernaryAddImageFilterID2ID2ID2ID2_Superclass_cast(itkLightObject obj) > itkTernaryAddImageFilterID2ID2ID2ID2_Superclass | def itkTernaryAddImageFilterID2ID2ID2ID2_Superclass_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterID2ID2ID2ID2_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF2IF2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_Superclass_cast(obj)",
"def itkNotImageFilterIUS2IUS2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUS2IUS2_Superclass *\":\... | [
"0.84598845",
"0.830569",
"0.83006763",
"0.829275",
"0.82689846",
"0.82017225",
"0.8179489",
"0.8175326",
"0.81749785",
"0.8088286",
"0.80781823",
"0.8049702",
"0.8036825",
"0.802763",
"0.80256134",
"0.8021667",
"0.7969493",
"0.7960738",
"0.79595184",
"0.7879262",
"0.78750664... | 0.83009154 | 2 |
cast(itkLightObject obj) > itkTernaryAddImageFilterID3ID3ID3ID3_Superclass | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterID3ID3ID3ID3_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_Superclass_cast(obj)",
"def itkNotImageFilterIF3IF3_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3_Superclass *\":\n return _itkNotImageFilterPytho... | [
"0.8447806",
"0.835408",
"0.8331328",
"0.83247644",
"0.8303352",
"0.81888425",
"0.81718343",
"0.8150934",
"0.8132018",
"0.8111063",
"0.80385387",
"0.8013818",
"0.79792774",
"0.796343",
"0.79049927",
"0.7870615",
"0.7870506",
"0.7843389",
"0.780859",
"0.77116466",
"0.76478946"... | 0.75060236 | 27 |
New() > itkTernaryAddImageFilterID3ID3ID3ID3_Superclass Create a new object of the class itkTernaryAddImageFilterID3ID3ID3ID3_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterID3ID3ID3ID3_Superclass.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass.__New_orig__()\n ... | [
"0.77666956",
"0.76079875",
"0.75039846",
"0.75035",
"0.7479952",
"0.74662477",
"0.7298497",
"0.72855514",
"0.72777826",
"0.72717106",
"0.72706074",
"0.7184689",
"0.7160855",
"0.71421075",
"0.71154994",
"0.7073263",
"0.7060131",
"0.70412266",
"0.7006315",
"0.6987071",
"0.6958... | 0.7919466 | 0 |
itkTernaryAddImageFilterID3ID3ID3ID3_Superclass_cast(itkLightObject obj) > itkTernaryAddImageFilterID3ID3ID3ID3_Superclass | def itkTernaryAddImageFilterID3ID3ID3ID3_Superclass_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterID3ID3ID3ID3_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF3IF3_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_Superclass_cast(obj)",
"def itkNotImageFilterISS3ISS3_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterISS3ISS3_Superclass *\":\... | [
"0.8736071",
"0.868161",
"0.85678107",
"0.855728",
"0.8525033",
"0.84827745",
"0.8458611",
"0.84521455",
"0.8401546",
"0.8398676",
"0.82971007",
"0.82100916",
"0.819524",
"0.8174809",
"0.8162183",
"0.8155681",
"0.8120304",
"0.8097459",
"0.80840564",
"0.8081543",
"0.8037756",
... | 0.8572596 | 2 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF2IF2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_Superclass_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2_Superclass *\":\n return _itkNotImageFilterPytho... | [
"0.83766204",
"0.8343197",
"0.81994504",
"0.8033622",
"0.8021271",
"0.7993956",
"0.79668874",
"0.7955408",
"0.79487544",
"0.7893651",
"0.78932303",
"0.7893183",
"0.7889645",
"0.78552145",
"0.7831324",
"0.7804832",
"0.7798998",
"0.77956307",
"0.7756702",
"0.7714334",
"0.767403... | 0.787697 | 13 |
New() > itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass Create a new object of the class itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterID2ID2ID2ID2_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass.__New_orig__()\n ... | [
"0.78903687",
"0.7618442",
"0.7587125",
"0.7554806",
"0.7497415",
"0.7490903",
"0.7460643",
"0.7349206",
"0.73199266",
"0.7273647",
"0.7265122",
"0.7225199",
"0.72199607",
"0.7203722",
"0.7196587",
"0.71783614",
"0.71586716",
"0.7110979",
"0.7084644",
"0.70412594",
"0.7006525... | 0.8061528 | 0 |
itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass_cast(itkLightObject obj) > itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass | def itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF2IF2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_Superclass_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2_Superclass *\":\n return _itkNotImageFilterPytho... | [
"0.88076603",
"0.8572629",
"0.85263824",
"0.84869593",
"0.84707963",
"0.8447603",
"0.8407247",
"0.83666754",
"0.8311725",
"0.82673705",
"0.82649153",
"0.8258107",
"0.8230317",
"0.82138693",
"0.82006955",
"0.8125339",
"0.8115553",
"0.80756104",
"0.8072043",
"0.8067883",
"0.805... | 0.8668573 | 1 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF3IF3_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_Superclass_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3_Superclass *\":\n return _itkNotImageFilterPytho... | [
"0.84215736",
"0.84034926",
"0.8305896",
"0.81551635",
"0.81245995",
"0.8102471",
"0.80973864",
"0.80775636",
"0.80774724",
"0.8057766",
"0.8046051",
"0.8026812",
"0.80027497",
"0.78837883",
"0.7882408",
"0.78676045",
"0.7847785",
"0.78235435",
"0.77957475",
"0.774796",
"0.77... | 0.77168095 | 21 |
New() > itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass Create a new object of the class itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterID3ID3ID3ID3_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkCosImageFilterIF3IF3_Superclass.__New_orig__()\n import itkTemp... | [
"0.78577113",
"0.7592699",
"0.7584402",
"0.74809074",
"0.7461834",
"0.74548477",
"0.7382315",
"0.7356721",
"0.7290633",
"0.72715217",
"0.7263018",
"0.7174303",
"0.7171283",
"0.7165325",
"0.7131815",
"0.7109765",
"0.7042447",
"0.7011581",
"0.69516927",
"0.69480693",
"0.6946724... | 0.7961178 | 0 |
itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass_cast(itkLightObject obj) > itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass | def itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF3IF3_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_Superclass_cast(obj)",
"def itkTernaryAddImageFilterID3ID3ID3ID3_Superclass_cast(*args):\n return _itkTernaryAddImageFilterPython.itkTernar... | [
"0.889163",
"0.872401",
"0.8716521",
"0.8686031",
"0.86727256",
"0.8645202",
"0.86261636",
"0.85349524",
"0.8480945",
"0.84491646",
"0.8429972",
"0.8390216",
"0.8305966",
"0.82382905",
"0.82324976",
"0.81321186",
"0.81260115",
"0.8123955",
"0.80859166",
"0.80845314",
"0.80565... | 0.87746197 | 1 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC2IUC2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUC2IUC2_Superclass_cast(obj)",
"def itkNotImageFilterIUC2IUC2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC2IUC2_Superclass *\":\n return _itkNotImageFil... | [
"0.834111",
"0.8290173",
"0.81825304",
"0.81166714",
"0.8085342",
"0.8076864",
"0.8007342",
"0.7972806",
"0.7964573",
"0.7946949",
"0.7939894",
"0.7933654",
"0.78695387",
"0.7853671",
"0.7838806",
"0.78119445",
"0.7795307",
"0.7725836",
"0.77124554",
"0.77036095",
"0.77026665... | 0.7777628 | 17 |
New() > itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass Create a new object of the class itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass.__New_orig__()\n ... | [
"0.77771425",
"0.777552",
"0.7686807",
"0.7643416",
"0.7587692",
"0.75774217",
"0.73941374",
"0.73560876",
"0.73111916",
"0.7292542",
"0.72911847",
"0.72615075",
"0.7257298",
"0.72467935",
"0.71607935",
"0.71508795",
"0.7145032",
"0.71084183",
"0.7099382",
"0.70673823",
"0.70... | 0.79703885 | 0 |
itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass_cast(itkLightObject obj) > itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass | def itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIUC2IUC2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC2IUC2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUC2IUC2_Superclass_cast(obj)",
"def itkNotImageFilterIF2IF2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2_Superclass *\"... | [
"0.8583774",
"0.8431196",
"0.8420218",
"0.83839583",
"0.8363702",
"0.83492815",
"0.82900065",
"0.82717526",
"0.82178116",
"0.8217027",
"0.8207864",
"0.820718",
"0.8156194",
"0.80921507",
"0.8092105",
"0.8075868",
"0.8073345",
"0.8053059",
"0.8038925",
"0.8010338",
"0.79771775... | 0.85070795 | 1 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC3IUC3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUC3IUC3_Superclass_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC2IUC2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUC2IU... | [
"0.8382613",
"0.8278823",
"0.8251991",
"0.82148737",
"0.8203227",
"0.8143775",
"0.81393623",
"0.8138548",
"0.81275445",
"0.80943424",
"0.8089351",
"0.7965766",
"0.79550606",
"0.79431623",
"0.79347086",
"0.791383",
"0.7902391",
"0.7832134",
"0.7724162",
"0.7658042",
"0.7645572... | 0.756046 | 27 |
New() > itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass Create a new object of the class itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterID3ID3ID3ID3_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass.__New_orig__()\n ... | [
"0.78084457",
"0.7777113",
"0.7743919",
"0.7609945",
"0.75737077",
"0.7548231",
"0.73495024",
"0.7265904",
"0.7243554",
"0.7237153",
"0.7220631",
"0.7212902",
"0.72032726",
"0.7179373",
"0.7160813",
"0.7156109",
"0.7147796",
"0.71228814",
"0.71199644",
"0.70842755",
"0.707750... | 0.7868488 | 0 |
itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass_cast(itkLightObject obj) > itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass | def itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIUC3IUC3_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC3IUC3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUC3IUC3_Superclass_cast(obj)",
"def itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass_cast(*args):\n return _itkTernaryAddImageFilterPython... | [
"0.8532647",
"0.85305256",
"0.8516313",
"0.849879",
"0.84499377",
"0.84234107",
"0.8399052",
"0.83886224",
"0.8355858",
"0.8344065",
"0.83316773",
"0.8331413",
"0.83286583",
"0.82926065",
"0.8276312",
"0.8266724",
"0.826375",
"0.8225655",
"0.8214009",
"0.8193666",
"0.8193466"... | 0.86180055 | 0 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_Superclass_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC2IUC2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUC2IUC2_S... | [
"0.8231043",
"0.8183794",
"0.8179944",
"0.813997",
"0.8107713",
"0.81054693",
"0.8088916",
"0.8019836",
"0.80192333",
"0.8010472",
"0.80005395",
"0.7982409",
"0.7888748",
"0.7857484",
"0.7852095",
"0.78295845",
"0.7784547",
"0.7752002",
"0.7742223",
"0.76902217",
"0.76497644"... | 0.76787597 | 20 |
New() > itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass Create a new object of the class itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass.__New_orig__()\n ... | [
"0.76136214",
"0.75883645",
"0.75875884",
"0.7529568",
"0.74792403",
"0.7449526",
"0.74375355",
"0.7260869",
"0.7239844",
"0.7108787",
"0.70131814",
"0.69569594",
"0.6922677",
"0.6912971",
"0.68873686",
"0.687519",
"0.6859417",
"0.6853394",
"0.68529296",
"0.68343085",
"0.6792... | 0.77367264 | 0 |
itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass_cast(itkLightObject obj) > itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass | def itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF2IF2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_Superclass_cast(obj)",
"def itkNotImageFilterIUS2IUS2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUS2IUS2_Superclass *\":\... | [
"0.83347076",
"0.8259786",
"0.8254877",
"0.82273674",
"0.8213395",
"0.81952333",
"0.81827587",
"0.81737477",
"0.81565833",
"0.81444824",
"0.81440467",
"0.8123669",
"0.81183785",
"0.8090652",
"0.80894965",
"0.8077059",
"0.80663335",
"0.80111235",
"0.79480046",
"0.7916144",
"0.... | 0.8331188 | 1 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_Superclass_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC3IUC3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUC3IUC3_S... | [
"0.8344029",
"0.83224463",
"0.8284969",
"0.8224202",
"0.82228005",
"0.82063365",
"0.81694835",
"0.8165365",
"0.80582345",
"0.80344105",
"0.8034188",
"0.80162996",
"0.80015427",
"0.7995259",
"0.7987952",
"0.7976403",
"0.7948404",
"0.7799154",
"0.77925974",
"0.7752949",
"0.7708... | 0.7512756 | 26 |
New() > itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass Create a new object of the class itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterID3ID3ID3ID3_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_Superclass.__New_orig__()\n ... | [
"0.77514553",
"0.765869",
"0.76537627",
"0.7553569",
"0.749837",
"0.7385497",
"0.7229729",
"0.72107583",
"0.71896565",
"0.71452445",
"0.71168566",
"0.7091152",
"0.70909774",
"0.7024852",
"0.70056397",
"0.6996257",
"0.69950944",
"0.69864553",
"0.69812405",
"0.69450486",
"0.692... | 0.7761621 | 0 |
itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass_cast(itkLightObject obj) > itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass | def itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF3IF3_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_Superclass_cast(obj)",
"def itkNotImageFilterISS3ISS3_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterISS3ISS3_Superclass *\":\... | [
"0.85246396",
"0.84796506",
"0.84340036",
"0.84302866",
"0.84288764",
"0.8423453",
"0.8416096",
"0.83491045",
"0.8327571",
"0.83225805",
"0.82702595",
"0.8268719",
"0.82654333",
"0.8251263",
"0.82445973",
"0.8234296",
"0.8218139",
"0.8206639",
"0.81782633",
"0.8108415",
"0.80... | 0.85044765 | 1 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIUS2IUS2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUS2IUS2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUS2IUS2_Superclass_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUS2IUS2_Superclass *\":\n return _itkNotImageFil... | [
"0.8304301",
"0.82490915",
"0.81188726",
"0.80280966",
"0.7972961",
"0.78848064",
"0.7863343",
"0.7826107",
"0.7789981",
"0.7746478",
"0.7744639",
"0.7724042",
"0.771654",
"0.7712445",
"0.7704052",
"0.76961714",
"0.7681886",
"0.767606",
"0.7668913",
"0.76313215",
"0.7622179",... | 0.77324975 | 11 |
New() > itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass Create a new object of the class itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterID2ID2ID2ID2_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass.__New_orig__()\n ... | [
"0.7596377",
"0.75910646",
"0.7560997",
"0.75100327",
"0.74321425",
"0.73726755",
"0.73566854",
"0.734661",
"0.7272658",
"0.72386825",
"0.7217317",
"0.7106021",
"0.7098527",
"0.70696133",
"0.7002581",
"0.6983039",
"0.6974576",
"0.69361895",
"0.6912299",
"0.68864566",
"0.68625... | 0.7922314 | 0 |
itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass_cast(itkLightObject obj) > itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass | def itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIUS2IUS2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUS2IUS2_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUS2IUS2_Superclass_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUS2IUS2_Superclass *\":\n return _itkNotImageFil... | [
"0.8769365",
"0.8522652",
"0.839778",
"0.83974636",
"0.8386833",
"0.8381579",
"0.8350641",
"0.8332937",
"0.8298384",
"0.8288761",
"0.824455",
"0.82303673",
"0.8217982",
"0.82114774",
"0.81883687",
"0.8180019",
"0.8107185",
"0.8103616",
"0.8074904",
"0.80426836",
"0.8036381",
... | 0.83809143 | 6 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUS3IUS3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUS3IUS3_Superclass_cast(obj)",
"def itkNotImageFilterIUS3IUS3_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUS3IUS3_Superclass *\":\n return _itkNotImageFil... | [
"0.83137727",
"0.8301095",
"0.82114863",
"0.8178836",
"0.8119993",
"0.79578906",
"0.79196596",
"0.78718543",
"0.78582305",
"0.7827678",
"0.78161174",
"0.7789821",
"0.7776616",
"0.7749188",
"0.7730019",
"0.7708901",
"0.7708324",
"0.7677274",
"0.7676748",
"0.765284",
"0.7648585... | 0.7613641 | 22 |
New() > itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass Create a new object of the class itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterID3ID3ID3ID3_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass.__New_orig__()\n ... | [
"0.76287913",
"0.7548939",
"0.7542766",
"0.74978733",
"0.74911535",
"0.73237395",
"0.7311357",
"0.7223127",
"0.7221928",
"0.7203291",
"0.711763",
"0.70980036",
"0.7094449",
"0.70661205",
"0.7045585",
"0.69802654",
"0.69774556",
"0.6953183",
"0.6930293",
"0.6927179",
"0.692529... | 0.7858551 | 0 |
itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass_cast(itkLightObject obj) > itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass | def itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIUS3IUS3_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUS3IUS3_Superclass *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUS3IUS3_Superclass_cast(obj)",
"def itkNotImageFilterIUS2IUS2_Superclass_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUS2IUS2_Superclass... | [
"0.8716246",
"0.86355853",
"0.86032987",
"0.85149944",
"0.8514654",
"0.8504637",
"0.85039264",
"0.8490741",
"0.8417344",
"0.8411787",
"0.8396364",
"0.8383459",
"0.838299",
"0.8310304",
"0.8255951",
"0.82330203",
"0.82198226",
"0.82180065",
"0.81992364",
"0.8187167",
"0.818102... | 0.8538841 | 3 |
cast(itkLightObject obj) > itkTernaryAddImageFilterID2ID2ID2ID2 | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterID2ID2ID2ID2_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF2IF2_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_cast(obj)",
"def... | [
"0.7715046",
"0.7705152",
"0.76006335",
"0.75384825",
"0.74669284",
"0.7435751",
"0.74244475",
"0.73907906",
"0.73766285",
"0.73675126",
"0.7347136",
"0.73369384",
"0.733344",
"0.7333071",
"0.73104805",
"0.730174",
"0.729558",
"0.7290023",
"0.7279606",
"0.7250818",
"0.7246067... | 0.7090828 | 39 |
New() > itkTernaryAddImageFilterID2ID2ID2ID2 Create a new object of the class itkTernaryAddImageFilterID2ID2ID2ID2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named pa... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterID2ID2ID2ID2.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterID2ID2ID2ID2_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF2IF2IF2IF2.__New_orig__()\n import itkTe... | [
"0.79866374",
"0.7950948",
"0.7902202",
"0.76756924",
"0.7476825",
"0.74265414",
"0.742054",
"0.7409127",
"0.7372828",
"0.73234135",
"0.7315541",
"0.7296767",
"0.7270058",
"0.7263262",
"0.7241665",
"0.7233361",
"0.72253376",
"0.72154576",
"0.715046",
"0.7147575",
"0.71471334"... | 0.8147333 | 0 |
itkTernaryAddImageFilterID2ID2ID2ID2_cast(itkLightObject obj) > itkTernaryAddImageFilterID2ID2ID2ID2 | def itkTernaryAddImageFilterID2ID2ID2ID2_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterID2ID2ID2ID2_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF2IF2_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_cast(obj)",
"def itkTernaryAddImageFilterIF2IF2IF2IF2_cast(*args):\n return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF2IF2IF2IF2_cast(*args)",
... | [
"0.76308167",
"0.758188",
"0.7517058",
"0.7454919",
"0.74101835",
"0.73981917",
"0.7383619",
"0.73698163",
"0.7358109",
"0.7336409",
"0.7328914",
"0.7323717",
"0.7288171",
"0.72586155",
"0.725105",
"0.72349465",
"0.7195933",
"0.7163779",
"0.7159076",
"0.7150028",
"0.7110235",... | 0.7765551 | 0 |
cast(itkLightObject obj) > itkTernaryAddImageFilterID3ID3ID3ID3 | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterID3ID3ID3ID3_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIF3IUS3 *\":\n return _itkHuangThresholdImageFilterPython.itkHuangThresholdImageFilterIF3IUS3_cas... | [
"0.7741984",
"0.7713559",
"0.77034396",
"0.76531625",
"0.76131505",
"0.7598604",
"0.75758034",
"0.7566732",
"0.75606537",
"0.75531316",
"0.75246245",
"0.749187",
"0.7488528",
"0.74811006",
"0.74808985",
"0.74759084",
"0.74668235",
"0.74441904",
"0.7443954",
"0.7413306",
"0.74... | 0.7174502 | 48 |
New() > itkTernaryAddImageFilterID3ID3ID3ID3 Create a new object of the class itkTernaryAddImageFilterID3ID3ID3ID3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named pa... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterID3ID3ID3ID3.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF3IF3IF3IF3.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass.__New_orig__()\n import itkTe... | [
"0.8122643",
"0.80405945",
"0.79705286",
"0.7826779",
"0.7583411",
"0.75830215",
"0.7572595",
"0.756218",
"0.74430597",
"0.74388206",
"0.7398677",
"0.73933834",
"0.7389276",
"0.7356299",
"0.73425376",
"0.732044",
"0.73061585",
"0.7295671",
"0.7292391",
"0.7291407",
"0.7245295... | 0.81664336 | 0 |
itkTernaryAddImageFilterID3ID3ID3ID3_cast(itkLightObject obj) > itkTernaryAddImageFilterID3ID3ID3ID3 | def itkTernaryAddImageFilterID3ID3ID3ID3_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterID3ID3ID3ID3_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkTernaryAddImageFilterIF3IF3IF3IF3_cast(*args):\n return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF3IF3IF3IF3_cast(*args)",
"def itkNotImageFilterIF3IF3_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_cast(obj)",
... | [
"0.78832257",
"0.785561",
"0.77852875",
"0.7771489",
"0.7718299",
"0.7687708",
"0.76786035",
"0.7662282",
"0.7625325",
"0.7598742",
"0.7597835",
"0.7562758",
"0.7558518",
"0.75351113",
"0.75327724",
"0.7522676",
"0.75222576",
"0.7520495",
"0.75182086",
"0.7504889",
"0.7499525... | 0.80553585 | 0 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIF2IF2IF2IF2 | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF2IF2IF2IF2_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF2IF2_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_cast(obj)",
"def... | [
"0.8116733",
"0.8000364",
"0.7750954",
"0.77352816",
"0.76985484",
"0.7662705",
"0.76402336",
"0.7612111",
"0.75822896",
"0.7576933",
"0.74957603",
"0.74747777",
"0.7450279",
"0.74031514",
"0.7363972",
"0.7326749",
"0.73242706",
"0.73232335",
"0.73223644",
"0.73027104",
"0.73... | 0.7416886 | 13 |
New() > itkTernaryAddImageFilterIF2IF2IF2IF2 Create a new object of the class itkTernaryAddImageFilterIF2IF2IF2IF2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named pa... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIF2IF2IF2IF2.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterID2ID2ID2ID2.__New_orig__()\n import itkTe... | [
"0.8164579",
"0.796104",
"0.7792533",
"0.76417816",
"0.74947166",
"0.7469685",
"0.7461249",
"0.745837",
"0.7394439",
"0.73799187",
"0.7362876",
"0.735769",
"0.7347056",
"0.73209006",
"0.73039687",
"0.7292726",
"0.72827333",
"0.72694397",
"0.7240936",
"0.7170967",
"0.7154845",... | 0.8288121 | 0 |
itkTernaryAddImageFilterIF2IF2IF2IF2_cast(itkLightObject obj) > itkTernaryAddImageFilterIF2IF2IF2IF2 | def itkTernaryAddImageFilterIF2IF2IF2IF2_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF2IF2IF2IF2_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF2IF2_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_cast(obj)",
"def... | [
"0.8325339",
"0.81298554",
"0.7900186",
"0.789129",
"0.7829227",
"0.7820389",
"0.78154504",
"0.7814893",
"0.7799674",
"0.7781515",
"0.77740836",
"0.7751609",
"0.77474713",
"0.7740967",
"0.77069825",
"0.7687321",
"0.7653217",
"0.7551432",
"0.75447375",
"0.7498614",
"0.74841386... | 0.82992935 | 1 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIF3IF3IF3IF3 | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF3IF3IF3IF3_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF3IF3_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_cast(obj)",
"def... | [
"0.81073576",
"0.80122215",
"0.7959463",
"0.78997636",
"0.7873615",
"0.7828453",
"0.7827501",
"0.7825715",
"0.7757871",
"0.7743137",
"0.77404636",
"0.77255476",
"0.7713849",
"0.7702168",
"0.764673",
"0.7637698",
"0.76347834",
"0.7630268",
"0.7629711",
"0.7618248",
"0.7616702"... | 0.74116236 | 36 |
New() > itkTernaryAddImageFilterIF3IF3IF3IF3 Create a new object of the class itkTernaryAddImageFilterIF3IF3IF3IF3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non named pa... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIF3IF3IF3IF3.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterID3ID3ID3ID3.__New_orig__()\n import itkTe... | [
"0.81593454",
"0.8019483",
"0.77812564",
"0.7755564",
"0.76374006",
"0.7600967",
"0.7552205",
"0.75319076",
"0.75210726",
"0.75069284",
"0.7500817",
"0.74600273",
"0.7445691",
"0.7439426",
"0.74359894",
"0.7410714",
"0.7394769",
"0.7375656",
"0.73547715",
"0.73338944",
"0.730... | 0.83370554 | 0 |
itkTernaryAddImageFilterIF3IF3IF3IF3_cast(itkLightObject obj) > itkTernaryAddImageFilterIF3IF3IF3IF3 | def itkTernaryAddImageFilterIF3IF3IF3IF3_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF3IF3IF3IF3_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIF3IF3_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF3IF3 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF3IF3_cast(obj)",
"def... | [
"0.8314334",
"0.8146819",
"0.81391484",
"0.8064029",
"0.8047938",
"0.80301446",
"0.8027858",
"0.80160296",
"0.8015273",
"0.7977002",
"0.79115695",
"0.7899026",
"0.7853632",
"0.78422785",
"0.78316253",
"0.78305656",
"0.78131515",
"0.7811875",
"0.7801812",
"0.77994573",
"0.7799... | 0.83667874 | 0 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUC2IUC2IUC2IUC2 | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIUC2IUC2_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC2IUC2 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUC2IUC2_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIUC2IUC2 *\":\n return _itkHuangThresholdImageFilterPython.itkHuangThre... | [
"0.78606176",
"0.77856857",
"0.7734099",
"0.7726301",
"0.7724931",
"0.7701192",
"0.764721",
"0.7644028",
"0.7607412",
"0.7591791",
"0.75696933",
"0.75436753",
"0.7526074",
"0.75034356",
"0.75017846",
"0.7489283",
"0.7467527",
"0.74643415",
"0.74634385",
"0.74435395",
"0.74328... | 0.71642035 | 64 |
New() > itkTernaryAddImageFilterIUC2IUC2IUC2IUC2 Create a new object of the class itkTernaryAddImageFilterIUC2IUC2IUC2IUC2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUC2IUC2IUC2IUC2.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUL2IUL2IUL2IUL2.__New_orig__()\n impo... | [
"0.80834025",
"0.79318345",
"0.7846418",
"0.7789117",
"0.7781465",
"0.76959866",
"0.7689662",
"0.7657546",
"0.76215744",
"0.7617233",
"0.76065916",
"0.75819594",
"0.7497899",
"0.7480199",
"0.7466372",
"0.7465572",
"0.7454194",
"0.74479383",
"0.74334204",
"0.7425108",
"0.74227... | 0.82164854 | 0 |
itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_cast(itkLightObject obj) > itkTernaryAddImageFilterIUC2IUC2IUC2IUC2 | def itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkNotImageFilterIUC2IUC2_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC2IUC2 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUC2IUC2_cast(obj)",
"def itkHuangThresholdImageFilterIUC2IUC2_cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIUC2IUC2 *\":\n return _itkHuangThresh... | [
"0.7892496",
"0.78112376",
"0.77925205",
"0.77598757",
"0.77170867",
"0.76765",
"0.764932",
"0.7625104",
"0.7615173",
"0.7612952",
"0.7601345",
"0.7593909",
"0.75822866",
"0.7575358",
"0.7571743",
"0.7553365",
"0.75141734",
"0.74964494",
"0.7489112",
"0.7484641",
"0.7465378",... | 0.7989687 | 0 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUC3IUC3IUC3IUC3 | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIUC3IUC3 *\":\n return _itkHuangThresholdImageFilterPython.itkHuangThresholdImageFilterIUC3IUC3_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIF3IUC3 *\":\n return _itkHuangThresholdImageFilterPython.it... | [
"0.77693975",
"0.7703127",
"0.76897246",
"0.76749665",
"0.76679075",
"0.7648735",
"0.7646133",
"0.75900036",
"0.7586561",
"0.7576648",
"0.7568216",
"0.75426763",
"0.7539724",
"0.7532106",
"0.7513516",
"0.74965817",
"0.7474853",
"0.7471096",
"0.74622446",
"0.7437819",
"0.74244... | 0.71232 | 79 |
New() > itkTernaryAddImageFilterIUC3IUC3IUC3IUC3 Create a new object of the class itkTernaryAddImageFilterIUC3IUC3IUC3IUC3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUC3IUC3IUC3IUC3.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF3IF3IF3IF3.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass.__New_orig__()\n import itkTe... | [
"0.81388545",
"0.810595",
"0.8090037",
"0.7969986",
"0.7956292",
"0.78857464",
"0.785059",
"0.77959174",
"0.77761877",
"0.7631814",
"0.75843716",
"0.7583665",
"0.7542179",
"0.75403064",
"0.7498079",
"0.74783415",
"0.74772173",
"0.74764365",
"0.7475445",
"0.7461655",
"0.746162... | 0.82122886 | 0 |
itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_cast(itkLightObject obj) > itkTernaryAddImageFilterIUC3IUC3IUC3IUC3 | def itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_cast(*args):\n return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_cast(*args)",
"def itkNotImageFilterIUC3IUC3_cast(obj: 'itkLightObject') -> \"itkNotImageFilterIUC3IUC3 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIUC3IUC3_... | [
"0.7892304",
"0.78337157",
"0.78077155",
"0.7804674",
"0.77679163",
"0.7764134",
"0.7759513",
"0.7749586",
"0.7723623",
"0.7722778",
"0.77218026",
"0.7688984",
"0.7677636",
"0.76723707",
"0.76719034",
"0.76536036",
"0.7652875",
"0.7634969",
"0.76083463",
"0.7607304",
"0.76035... | 0.81195134 | 0 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUL2IUL2IUL2IUL2 | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIF2IUS2 *\":\n return _itkHuangThresholdImageFilterPython.itkHuangThresholdImageFilterIF2IUS2_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkNotImageFilterIF2IF2 *\":\n return _itkNotImageFilterPython.itkNotImageFilterIF2IF2_cas... | [
"0.7591891",
"0.74914503",
"0.7475746",
"0.7469472",
"0.7456874",
"0.73987305",
"0.7355603",
"0.73495823",
"0.7347236",
"0.7315157",
"0.7291294",
"0.7271386",
"0.72556365",
"0.7250248",
"0.7243723",
"0.72239333",
"0.72214377",
"0.7204429",
"0.71994066",
"0.7191831",
"0.718562... | 0.6999903 | 55 |
New() > itkTernaryAddImageFilterIUL2IUL2IUL2IUL2 Create a new object of the class itkTernaryAddImageFilterIUL2IUL2IUL2IUL2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUL2IUL2IUL2IUL2.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF2IF2IF2IF2_Superclass.__New_orig__()\n ... | [
"0.7961385",
"0.7959622",
"0.79339135",
"0.7845965",
"0.7836587",
"0.78198117",
"0.7744429",
"0.765472",
"0.7626084",
"0.75983095",
"0.75397074",
"0.7475012",
"0.73143613",
"0.7257502",
"0.72472817",
"0.72370017",
"0.7167874",
"0.71628785",
"0.7112177",
"0.71041477",
"0.70785... | 0.81316435 | 0 |
itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_cast(itkLightObject obj) > itkTernaryAddImageFilterIUL2IUL2IUL2IUL2 | def itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUL2IUL2IUL2IUL2_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_cast(*args):\n return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUC2IUC2IUC2IUC2_cast(*args)",
"def itkTernaryAddImageFilterIF2IF2IF2IF2_cast(*args):\n return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF2IF2IF2IF2_cast(*args)",
"def cas... | [
"0.7352389",
"0.7324347",
"0.7310399",
"0.7304036",
"0.72892624",
"0.7284477",
"0.72233516",
"0.7186214",
"0.7185038",
"0.7158732",
"0.71572274",
"0.7150702",
"0.7124124",
"0.7089004",
"0.7087673",
"0.7077956",
"0.70659965",
"0.7064473",
"0.7033919",
"0.70215225",
"0.70097744... | 0.7681724 | 0 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUL3IUL3IUL3IUL3 | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIF3IUS3 *\":\n return _itkHuangThresholdImageFilterPython.itkHuangThresholdImageFilterIF3IUS3_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIUS3IUS3 *\":\n return _itkHuangThresholdImageFilterPython.itk... | [
"0.7647566",
"0.7561853",
"0.7548788",
"0.753728",
"0.75245917",
"0.7512707",
"0.74969774",
"0.7495816",
"0.7483497",
"0.74777776",
"0.7451763",
"0.74383324",
"0.7436231",
"0.7423924",
"0.7415188",
"0.7409509",
"0.7404221",
"0.73695934",
"0.7364972",
"0.7341425",
"0.73326707"... | 0.70471674 | 62 |
New() > itkTernaryAddImageFilterIUL3IUL3IUL3IUL3 Create a new object of the class itkTernaryAddImageFilterIUL3IUL3IUL3IUL3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUL3IUL3IUL3IUL3.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF3IF3IF3IF3.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF3IF3IF3IF3_Superclass.__New_orig__()\n import itkTe... | [
"0.81462044",
"0.8110021",
"0.7995434",
"0.7912326",
"0.79099345",
"0.787577",
"0.77468467",
"0.7723048",
"0.77158433",
"0.7480538",
"0.74527663",
"0.73376215",
"0.7280301",
"0.7275997",
"0.7273901",
"0.7256137",
"0.723621",
"0.72328305",
"0.7226152",
"0.7203478",
"0.7197948"... | 0.814467 | 1 |
itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_cast(itkLightObject obj) > itkTernaryAddImageFilterIUL3IUL3IUL3IUL3 | def itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUL3IUL3IUL3IUL3_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_cast(*args):\n return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUC3IUC3IUC3IUC3_cast(*args)",
"def itkTernaryAddImageFilterIF3IF3IF3IF3_cast(*args):\n return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIF3IF3IF3IF3_cast(*args)",
"def itk... | [
"0.7748961",
"0.76095223",
"0.7589307",
"0.75607187",
"0.7520681",
"0.7497383",
"0.74870694",
"0.74818844",
"0.7464951",
"0.74644643",
"0.74344575",
"0.74030006",
"0.7387342",
"0.73710954",
"0.7369231",
"0.7366797",
"0.7360392",
"0.73567164",
"0.73386925",
"0.7336549",
"0.733... | 0.78951705 | 0 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUS2IUS2IUS2IUS2 | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHuangThresholdImageFilterIUS2IUS2_cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIUS2IUS2 *\":\n return _itkHuangThresholdImageFilterPython.itkHuangThresholdImageFilterIUS2IUS2_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIUS2IUS2 *\":\n return _itk... | [
"0.795775",
"0.79334676",
"0.79191446",
"0.78629583",
"0.77982414",
"0.7746097",
"0.76591057",
"0.7601464",
"0.7575579",
"0.75715923",
"0.7570197",
"0.75645965",
"0.7556181",
"0.7556168",
"0.75122136",
"0.7493305",
"0.74912035",
"0.74833924",
"0.74627525",
"0.74295926",
"0.74... | 0.71492976 | 41 |
New() > itkTernaryAddImageFilterIUS2IUS2IUS2IUS2 Create a new object of the class itkTernaryAddImageFilterIUS2IUS2IUS2IUS2 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUS2IUS2IUS2IUS2.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkSquaredDifferenceImageFilterIUS2IUS2IUS2.__New_orig__()\n i... | [
"0.80503565",
"0.7489746",
"0.7481182",
"0.74704665",
"0.7466978",
"0.7464551",
"0.74596614",
"0.74402666",
"0.74363726",
"0.7434975",
"0.73753166",
"0.734277",
"0.73379105",
"0.7327973",
"0.7306081",
"0.7305786",
"0.7299731",
"0.7296037",
"0.7261096",
"0.7260247",
"0.7259942... | 0.83108383 | 0 |
itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_cast(itkLightObject obj) > itkTernaryAddImageFilterIUS2IUS2IUS2IUS2 | def itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUS2IUS2IUS2IUS2_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHuangThresholdImageFilterIUS2IUS2_cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIUS2IUS2 *\":\n return _itkHuangThresholdImageFilterPython.itkHuangThresholdImageFilterIUS2IUS2_cast(obj)",
"def itkHuangThresholdImageFilterIF2IUS2_cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilt... | [
"0.8039066",
"0.803752",
"0.799232",
"0.78865457",
"0.7822779",
"0.7739733",
"0.76613253",
"0.7638676",
"0.76206696",
"0.7589836",
"0.75830173",
"0.7563245",
"0.75561917",
"0.7547682",
"0.7529822",
"0.7529683",
"0.75135267",
"0.75091255",
"0.74985117",
"0.74913585",
"0.748500... | 0.79412234 | 3 |
cast(itkLightObject obj) > itkTernaryAddImageFilterIUS3IUS3IUS3IUS3 | def cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIUS3IUS3 *\":\n return _itkHuangThresholdImageFilterPython.itkHuangThresholdImageFilterIUS3IUS3_cast(obj)",
"def cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIUS2IUS2 *\":\n return _itkHuangThresholdImageFilterPython.i... | [
"0.7828117",
"0.77500296",
"0.7680378",
"0.76507425",
"0.76472664",
"0.76291966",
"0.7628558",
"0.76244795",
"0.76156825",
"0.76125294",
"0.7602379",
"0.75422204",
"0.75175846",
"0.7516735",
"0.75001353",
"0.7496559",
"0.7451433",
"0.7428584",
"0.74199283",
"0.7396845",
"0.73... | 0.72114044 | 36 |
New() > itkTernaryAddImageFilterIUS3IUS3IUS3IUS3 Create a new object of the class itkTernaryAddImageFilterIUS3IUS3IUS3IUS3 and set the input and the parameters if some named or nonnamed arguments are passed to that method. New() tries to assign all the non named parameters to the input of the new objects the first non ... | def New(*args, **kargs):
obj = itkTernaryAddImageFilterIUS3IUS3IUS3IUS3.__New_orig__()
import itkTemplate
itkTemplate.New(obj, *args, **kargs)
return obj | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_Superclass.__New_orig__()\n import itkTemplate\n itkTemplate.New(obj, *args, **kargs)\n return obj",
"def New(*args, **kargs):\n obj = itkTernaryAddImageFilterIF3IF3IF3IF3.__New_orig__()\n import i... | [
"0.81209564",
"0.76765245",
"0.76381725",
"0.7637697",
"0.76059175",
"0.75846446",
"0.75640565",
"0.75020564",
"0.7486624",
"0.747826",
"0.7462136",
"0.7449853",
"0.74443847",
"0.7438893",
"0.7429914",
"0.74282986",
"0.74251896",
"0.74120355",
"0.73986375",
"0.7391535",
"0.73... | 0.83841634 | 0 |
itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_cast(itkLightObject obj) > itkTernaryAddImageFilterIUS3IUS3IUS3IUS3 | def itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_cast(*args):
return _itkTernaryAddImageFilterPython.itkTernaryAddImageFilterIUS3IUS3IUS3IUS3_cast(*args) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def itkHuangThresholdImageFilterIUS3IUS3_cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilterIUS3IUS3 *\":\n return _itkHuangThresholdImageFilterPython.itkHuangThresholdImageFilterIUS3IUS3_cast(obj)",
"def itkHuangThresholdImageFilterIF3IUS3_cast(obj: 'itkLightObject') -> \"itkHuangThresholdImageFilt... | [
"0.80789053",
"0.80319655",
"0.8008976",
"0.79430354",
"0.79271203",
"0.78627837",
"0.78258866",
"0.782384",
"0.781271",
"0.779851",
"0.77923465",
"0.7790801",
"0.7773563",
"0.77652675",
"0.7721575",
"0.770351",
"0.7701595",
"0.7673285",
"0.7649216",
"0.76348764",
"0.7603356"... | 0.81228995 | 0 |
Plot an image of the PSF | def plot_PSF(self, coef, wave_idx):
PSF, strehl = self.compute_PSF(coef, wave_idx)
plt.figure()
plt.imshow(PSF)
plt.title('Strehl: %.3f' %strehl)
plt.colorbar()
plt.clim(vmin=0, vmax=1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def plot_prodata_psf(self,font_size=28,img_name='prodata_psf.pdf',img_id=0):\n rawimage = self.raw_image\n dataimage = self.data\n len_mask = self.lens_mask\n plu_mask_out = self.plu_mask\n\n fig, (ax1, ax2, ax3, ax4,ax5) = plt.subplots(1, 5, figsize=(19, 10))\n ax1.imshow... | [
"0.68390614",
"0.667332",
"0.6661213",
"0.662219",
"0.655755",
"0.655406",
"0.6526125",
"0.6526125",
"0.6526125",
"0.6519338",
"0.64991987",
"0.64458805",
"0.6437348",
"0.643601",
"0.6406592",
"0.63417786",
"0.6327013",
"0.63187444",
"0.6312867",
"0.6310806",
"0.63035756",
... | 0.6686292 | 1 |
Implement the ``!=`` operator. In a column context, produces the clause ``a != b``. If the target is ``None``, produces ``a IS NOT NULL``. | def __ne__(self, other: Any) -> ColumnOperators: # type: ignore[override]
return self.operate(ne, other) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def __ne__(self, other):\n\n if other is None:\n return sql.and_(*[a != None for a in self.__clause_element__().clauses])\n\n return sql.and_(*[a != b for a, b in\n zip(self.__clause_element__().clauses,\n other.__composite_values__())])",
... | [
"0.7618464",
"0.7285921",
"0.66983044",
"0.64086646",
"0.6396626",
"0.635126",
"0.6348784",
"0.6348784",
"0.6339177",
"0.62864137",
"0.6270455",
"0.6254071",
"0.6230844",
"0.6230444",
"0.62146723",
"0.6183858",
"0.6170356",
"0.6168275",
"0.61671525",
"0.61638814",
"0.6152657"... | 0.71285 | 2 |
Implement the ``IS NOT DISTINCT FROM`` operator. Renders "a IS NOT DISTINCT FROM b" on most platforms; on some such as SQLite may render "a IS b". | def is_not_distinct_from(self, other: Any) -> ColumnOperators:
return self.operate(is_not_distinct_from, other) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def is_distinct_from(self, other: Any) -> ColumnOperators:\n return self.operate(is_distinct_from, other)",
"def __ne__(self, *args):\n return _ida_hexrays.user_unions_iterator_t___ne__(self, *args)",
"def __ne__(self, *args):\n return _ida_hexrays.user_cmts_iterator_t___ne__(self, *args)"... | [
"0.6854851",
"0.6271306",
"0.60592026",
"0.59912914",
"0.59556234",
"0.5913235",
"0.5890726",
"0.58651143",
"0.5837896",
"0.5810431",
"0.5760489",
"0.574592",
"0.57227314",
"0.5712382",
"0.57120717",
"0.5675092",
"0.56723475",
"0.56513",
"0.5647014",
"0.5646091",
"0.56390554"... | 0.78460455 | 0 |
Implement the ``IS NOT`` operator. Normally, ``IS NOT`` is generated automatically when comparing to a value of ``None``, which resolves to ``NULL``. However, explicit usage of ``IS NOT`` may be desirable if comparing to boolean values on certain platforms. | def is_not(self, other: Any) -> ColumnOperators:
return self.operate(is_not, other) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _logical_not(x):\n x_ = _static_value(x)\n if x_ is None:\n return math_ops.logical_not(x)\n return constant_op.constant(np.logical_not(x_))",
"def logical_not(data):\n return _make.logical_not(data)",
"def logical_not(x, f=None):\n return _cur_framework(x, f=f).logical_not(x)",
"def isNot(se... | [
"0.76711357",
"0.74266714",
"0.7345334",
"0.6967317",
"0.69102806",
"0.6909071",
"0.6847199",
"0.6773558",
"0.6718997",
"0.6715944",
"0.6714019",
"0.6710392",
"0.6697213",
"0.6632623",
"0.6623424",
"0.65454113",
"0.65454113",
"0.652865",
"0.647542",
"0.64731926",
"0.64731926"... | 0.7360673 | 2 |
Calculate the great circle distance between two points on the earth (specified in decimal degrees) | def haversine(lon1, lat1, lon2, lat2):
# convert decimal degrees to radians
lon1, lat1, lon2, lat2 = map(radians, [lon1, lat1, lon2, lat2])
# haversine formula
dlon = lon2 - lon1
dlat = lat2 - lat1
a = sin(dlat/2)**2 + cos(lat1) * cos(lat2) * sin(dlon/2)**2
c = 2 * asin(sqrt(a))
# R... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def great_circle(lat_1, long_1, lat_2, long_2):\n long_1 = m.radians(long_1)\n lat_1 = m.radians(lat_1)\n long_2 = m.radians(long_2)\n lat_2 = m.radians(lat_2)\n\n d = 2 * 6367.45 * m.asin(\n m.sqrt(haversine(lat_2 - lat_1)\n + m.cos(lat_1)*m.cos(lat_2) *\n haversine(long... | [
"0.81450045",
"0.7863265",
"0.76322985",
"0.76064754",
"0.75978696",
"0.75965863",
"0.75944835",
"0.75720793",
"0.75630087",
"0.7555095",
"0.7528691",
"0.7517629",
"0.7492963",
"0.7467739",
"0.7452678",
"0.7434477",
"0.73914117",
"0.7357736",
"0.73484355",
"0.73318124",
"0.73... | 0.0 | -1 |
Leaves a review in a product page | def leave_review(self, product_url, review, review_title):
raise NotImplementedError | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def leave_review(book_id):\n \n if request.method == 'POST':\n mongo.db.books.find_one_and_update(\n {\"_id\": ObjectId(book_id)}, \n {\"$push\": {\"reviews\": request.form.to_dict()['reviews']} }\n )\n return redirect(url_for('library'))\n \n else:\n r... | [
"0.6768317",
"0.6521801",
"0.6329526",
"0.6132767",
"0.61207914",
"0.59795856",
"0.59374976",
"0.59345794",
"0.590007",
"0.58561623",
"0.5785104",
"0.5780705",
"0.5748374",
"0.5738451",
"0.56478876",
"0.56427765",
"0.563428",
"0.5569598",
"0.5549924",
"0.5507052",
"0.55060875... | 0.7806384 | 0 |
Returns the url to access a detail record for this book. | def get_absolute_url(self):
return reverse("mountain", args=[str(self.state_name), str(self.name)]) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def get_absolute_url(self):\n return reverse('book-detail', args=[str(self.id)]) \n # Returns an URL that can be used to access a detail record for this model \n # (for this to work we will have to \n # -- Define a URL mapping that has the name 'book-detail' (name='book-detail')\n ... | [
"0.76990575",
"0.7611185",
"0.7257499",
"0.7257499",
"0.7257499",
"0.7117704",
"0.6992158",
"0.69547594",
"0.6935497",
"0.684423",
"0.6591669",
"0.6543265",
"0.6541738",
"0.64656514",
"0.6445659",
"0.64323515",
"0.64318234",
"0.6417527",
"0.6407866",
"0.638662",
"0.6367192",
... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.