code
stringlengths
3
6.57k
__init__(self,bot)
commands.command()
dab(self,ctx, *, member: discord.Member)
ctx.send("haha no")
discord.Embed(title="",description='')
r.randint(0,3)
em.set_image(url=str(urls[rand])
ctx.send(embed=em)
ctx.send(str(member.mention)
ctx.send("Invalid user")
commands.command()
bruhcat(self,ctx)
discord.Embed()
catembed.set_image(url="https://cdn.discordapp.com/attachments/444325494264037377/445300639631671296/bruh.gif")
ctx.send(embed=catembed)
commands.command()
blicky(self,ctx)
discord.Embed()
em.set_image(url="https://cdn.discordapp.com/attachments/444325494264037377/445407209359409163/27c3yf.png")
ctx.send(embed=em)
on_message(self,message)
message.channel.send(f"Please do not use the word '{word}' or I will report you and block you")
r.randint(1,2000)
message.channel.send("^Are you listening to this retard lmao")
message.channel.send("Another day closer to death" + str(message.author.mention)
message.channel.send("sleep tight boyo")
message.channel.send("bye loser")
message.channel.send("Equality for women")
message.channel.send("Now")
on_member_ban(self,guild,member)
guild.owner.send("Can y'all stop banning my master")
setup(bot)
bot.add_cog(Fun(bot)
test_float16(device)
schemes.Quantize(condensa.float16)
torch.nn.Linear(100, 10)
float()
to(device)
scheme.pi(fc)
scheme.delta(fc)
test_float16('cpu')
torch.cuda.is_available()
test_float16('cpu')
_3dCSC_SF_Export_Field(FrozenOnly)
__init__(self, sf)
self._freeze_self_()
to_file(self, filename, numOfSamples=1e6, regions=None)
check_filename(filename)
isinstance(numOfSamples, (int, float)
isinstance(numOfSamples, (tuple, list)
len(numOfSamples)
isinstance(nos, (int, float)
isinstance(regions, str)
isinstance(regions, (list, tuple)
len(set(regions)
len(regions)
enumerate(regions)
list()
range(3)
int((numOfSamples[i] / mesh.elements.GLOBAL_num)
rst.append(np.linspace(-1 + interval/2, 1-interval/2, density)
self._sf_.reconstruct(*rst, regions=regions)
range(mesh.elements.GLOBAL_num)
range(mesh.elements.GLOBAL_num)
range(mesh.elements.GLOBAL_num)
range(mesh.elements.GLOBAL_num)
in (1, 2)
range(mesh.elements.GLOBAL_num)
range(mesh.elements.GLOBAL_num)
in (1, 2)
cOmm.recv(source=i, tag=0)
in (1, 2)
cOmm.send([xyz, v], dest=mAster_rank, tag=0)
in (1, 2)
mesh.do.regionwsie_stack(X, Y, Z, Vx, Vy, Vz)
mesh.do.regionwsie_stack(X, Y, Z, Vx)
in (1, 2)
check_no_splcharacter(RN)
in (1, 2)
x.ravel(order='F')
y.ravel(order='F')
z.ravel(order='F')
in (1, 2)
vx.ravel(order='F')
vy.ravel(order='F')
vz.ravel(order='F')
vx.ravel(order='F')
in (1, 2)
np.hstack((x, y, z, vx, vy, vz)
np.hstack((x, y, z, vx)
np.savetxt(FILE_NAME, TO_BE_WRITTEN)
dict()
in (1, 2)
savemat(FILE_NAME, m_dic)
Exception(f"Format=.{extension} is not supported.")
get_config(mode = 'app', net_size = 'large', net_mode = 'ir_se', use_mtcnn = 1, threshold = 1.25)
edict()
torch.device("cuda" if torch.cuda.is_available()
trans.ToTensor()
trans.Normalize([0.5, 0.5, 0.5], [0.5, 0.5, 0.5])