seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
batch_size = H['batch_size']
now = datetime.datetime.now()
now_path = str(now.month) + '-' + str(now.day) + '_' + \
str(now.hour) + '-' + str(now.minute) + '_' + H['loss_function']
sys.stdout.write('checkpoint name :{}'.format(now_path))
sys.stdout.write('\n')
sys.stdout.flush()
ckpt_path = os.path.join(log_dir, now_path, 'ckpt', 'ckpt')
hypes_path = os.path.join(log_dir, now_path, 'hypes')
summary_path = os.path.join(log_dir, now_path, 'summary')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Maximum possible unique combinations of chars
limit = factorial(len(chars))
while len(combos) < limit:
# Generates random string from chars
shuffle(chars)
tmp = "".join(chars)
# Appends tmp to combos list only if it is unique
if tmp not in combos:
combos.append(tmp)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from docopt import docopt
import requests
import os
import pandas as pd
import os.path
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
fn buy_impl(market: MarketName, share: Share, amount: f64, state: &mut RuntimeState) -> Response {
assert!(amount > 0.0);
let market = match state.data.markets.get_mut(&market) {
Some(market) => market,
None => return Response::Error("Market not found"),
};
let principal = state.env.caller();
let account = match state
.data
.profiles
.get_mut(&principal)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"device_id": device_id,
"tts": tts
})
)
logger.info('IoT Response: ' + json.dumps(response))
return {
'statusCode': 200,
'body': json.dumps('Hello from Lambda!')
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
env: {
PORT,
HOST,
CORS_ORIGIN,
DB_HOST,
DB_PORT,
DB_NAME,
DB_USER,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<div class="support-system-reply-attachments">
<h5><?php _e( 'Attachments', INCSUB_SUPPORT_LANG_DOMAIN ); ?></h5>
<ul>
<?php foreach ( incsub_support_get_the_reply_attachments() as $attachment_url ): ?>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
QString stop = toch(ui.lineEdit2->text());
char start_str[100];
char stop_str[100];
| ise-uiuc/Magicoder-OSS-Instruct-75K |
loss_pseudo_aux = torch.mean(
torch.sum(pseudo_pred_aux * torch.log(pseudo_pred_aux), 1)) # calculating auxiliary pseudo loss
loss = loss_main + loss_conf + loss_pseudo_aux * args.lambdaa # adding losses before backpropegation
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>lexusdrumgold/pcdsa<filename>__tests__/setup.ts<gh_stars>0
import 'jest-extended'
/**
* @file Jest Global Setup Configuration
* @module tests/setup
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public class MaskReader {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
private String issueDescription;
private AuthorBean author;
private Interval<Date> doseDuration;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
println!("cargo:rustc-link-search=native={}/lib", dst.display());
println!("cargo:rustc-link-search=native={}/lib64", dst.display());
if env::var("CARGO_CFG_TARGET_ENV").unwrap() == "msvc" {
println!("cargo:rustc-link-lib=static=nlopt");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
nic_list = get_nic_list()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<polygon points="31,30 38,35.6 38,24.4"/>
<path d="M38,28c-0.3,0-0.7,0-1,0.1v4c0.3-0.1,0.7-0.1,1-0.1c3.3,0,6,2.7,6,6s-2.7,6-6,6s-6-2.7-6-6 c0-0.3,0-0.6,0.1-0.9l-3.4-2.7C28.3,35.5,28,36.7,28,38c0,5.5,4.5,10,10,10s10-4.5,10-10S43.5,28,38,28z"/>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""Initialize priorityq."""
self._container = Binheap()
def insert(self, val, priority=0):
"""Insert a val into the queue with an argument for the priority."""
self._container.push((priority, val))
def pop(self):
"""Remove the most important item from the queue."""
to_return = self._container.container[1][1]
if not to_return:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@Column(name = "__updated_on")
@UpdateTimestamp
private ZonedDateTime updatedOn;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
__author_email__ = "<EMAIL>"
__url__ = "https://github.com/lewisacidic/memoprop"
__docs_url__ = "https://github.com/lewisacidic/memoprop"
__source_url__ = "https://github.com/lewisacidic/memoprop"
__bugtracker_url__ = "https://github.com/lewisacidic/memoprop/issues"
__download_url__ = "https://github.com/lewisacidic/memoprop/releases"
__classifiers__ = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python :: 3",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import com.example.order.model.User;
import com.example.order.model.request.AddAssetRequest;
import com.example.order.model.request.AddTradingPairRequest;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from . import trajectory_calc | ise-uiuc/Magicoder-OSS-Instruct-75K |
{
[ApiController, Route("users")]
[Authorize(Roles = $"{RoleConstants.STUDENT},{RoleConstants.TEACHER}"), RequiredScope(ScopeConstants.LOGIN)]
public class UsersController : ControllerBase
{
public UsersController(IMediator mediator)
{
_mediator = mediator;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>joedavis/void-packages
export JAVA_HOME=/usr/lib/jvm/oracle-jre
| ise-uiuc/Magicoder-OSS-Instruct-75K |
printf( "Failed to open %s (%s)\n", "libvstdlib" DLL_EXT_STRING, dlerror());
return -1;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
package org.yipuran.json; | ise-uiuc/Magicoder-OSS-Instruct-75K |
# Qubit, Clbit, AncillaQubit,
# QuantumRegister, ClassicalRegister, AncillaRegister,
# QuantumCircuit, Result, run, init_backend, transpile, run_transpiled, measure, measure_all
# )
# from .vqe import VariationalSolver, VQEFitter
| ise-uiuc/Magicoder-OSS-Instruct-75K |
declare var window: any
window.Admin = require("./Admin").Admin
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def __init__(self, coordinates):
ComplexModel.__init__(self)
self.coordinates = coordinates
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class URLForm(forms.Form):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@param: items QList<QTreeWidgetItem>
'''
| ise-uiuc/Magicoder-OSS-Instruct-75K |
results['invocation']['module_args']['data'] = 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER'
return results
| ise-uiuc/Magicoder-OSS-Instruct-75K |
resolve(1)
}
once(el, 'transitionend', callback)
once(el, 'animationend', callback)
window.setTimeout(function () {
el.classList.remove(effect + '-leave')
el.classList.add(effect + '-leave-to')
}, delay)
})
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public abstract class CliMenu
{
public string Title { get; private set; }
public List<CliMenu> SubMenus { get; private set; }
public List<CliFunction> Functions { get; private set; }
public CliMenu(string title, List<CliMenu> subMenus, List<CliFunction> functions)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return traj_pred #np.reshape(traj_pred, (-1, 150))
if __name__ == "__main__":
ENCODED_MODEL_PATH = "/home/arshad/Documents/reach_to_palpate_validation_models/encoded_model_regions"
PREDICTOR_MODEL = "/home/arshad/Documents/reach_to_palpate_validation_models/model_cnn_rgb_1"
image = np.load( "/home/arshad/catkin_ws/image_xy_rtp.npy" )
predictor = Predictor(ENCODED_MODEL_PATH, PREDICTOR_MODEL)
traj = predictor.predict(image)
np.save("/home/arshad/catkin_ws/predicted_joints_values_rtp.npy", traj)
print ("\n Predicted ProMPs weights for RTP task. Joint trajectory is saved in the file. \n Press 'p' to display the trajectory...")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
('user1', models.CharField(max_length=50)),
('user2', models.CharField(max_length=50)),
('name1', models.CharField(max_length=50)),
('name2', models.CharField(max_length=50)),
],
),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?php
$tags = get_the_tags();
?>
<?php if($tags) { ?>
<div class="qodef-tags-holder">
<div class="qodef-tags">
<?php the_tags('', ' ', ''); ?>
</div>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else
max=10
fi
if ! [ "${max}" -gt 0 ]; then
echo >&2 "ERROR: \$max must be > 0"
return 1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
n_samples=100,
n_features=5,
n_informative=4,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cost_0 = min(m // a * y, m // b * z)
n -= m
# brute force the b count.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# valid_post_path="/result/train/segment/dog_person_1/valid/valid_post_grid.csv"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// {
// return AndroidObservables
// .WhenIntentReceived(ConnectivityManager.ConnectivityAction)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
file.write(initial_global_data)
#reload the global json file
results = host.run('stack load json global file=global.json')
assert results.rc == 0
# re-dump the data and check that nothing has changed
results = host.run('stack dump global')
assert results.rc == 0
final_global_data = results.stdout
| ise-uiuc/Magicoder-OSS-Instruct-75K |
list_display = ('human_create_dt', 'human_update_dt', 'name', 'slug')
list_display_links = ('name', 'slug')
readonly_fields = ('create_dt', 'update_dt')
@admin.register(ColorFieldTestModel)
class ColorFieldTestModelAdmin(admin.ModelAdmin):
list_display = ('required_color', 'optional_color')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@jax.jit
def _linear(x, y):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from .data_processor import DataProcessor
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for i in range(0,length):
for j in range(0,length):
for k in range(0,length):
if (arr[i]+arr[j]+arr[k] == 2020):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Print("[ OK ] Hookah Workers DB loaded successful", ConsoleColor.Green);
}
catch (Exception e)
{
Print("An error occured while loading hookah workers DB: " + e.Message, ConsoleColor.Red);
Console.ReadLine();
return;
}
try
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
break;
case "/home":
request.getRequestDispatcher("/static/HTML/employeeHomepage.html").forward(request, response);
break;
case "/profile":
request.getRequestDispatcher("/static/HTML/Profile.html").forward(request, response);
break;
case "/editProf":
request.getRequestDispatcher("/static/HTML/editProf.html").forward(request, response);
break;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
HistogramPlotRaw(ax=None, path=self.path).save()
def _regression_plot_transf(self):
RegressionPlotTransf(ax=None, path=self.path).save()
def _histogram_plot_transf(self):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this.currency$ = this.currencySubject.asObservable();
this.unit$ = this.unitSubject.asObservable();
}
setLang(lang: string) {
this.languageSubject.next(lang);
}
setCurrency(unit: string) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$content = array_filter($result);
}
return $content;
}
}
// 旧的wordpress连接微博插件,数据转换
function connect_denglu_update() {
global $wptm_basic;
@ini_set("max_execution_time", 300);
$userdata = ($_SESSION['connect_denglu_update_data']) ? $_SESSION['connect_denglu_update_data'] : connect_denglu_update_data();
// return var_dump($userdata);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
var parts = key.Split(':');
if (parts[parts.Length - 1] != networkId) continue;
Array.Resize(ref parts, parts.Length - 1);
allAccounts.Add(string.Join(":", parts));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fig = go.Figure()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
GTIRB_BRANCH=${GTIRB_BRANCH:?Please specify the GTIRB_BRANCH}
GTIRB_PPRINTER_BRANCH=${GTIRB_PPRINTER_BRANCH:?Please specify the GTIRB_PPRINTER_BRANCH}
DDISASM_BRANCH=${DDISASM_BRANCH:?Please specify the DDISASM_BRANCH}
rm -rf $DEPLOY_DIR
mkdir -p $DEPLOY_DIR
function setup_repo {
local OS=$1
local CODENAME=$2
mkdir $DEPLOY_DIR/$CODENAME
pushd $DEPLOY_DIR/$CODENAME
case $OS in
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""),
('_sigmoid.pyx', r"""
import numpy as np
cimport numpy as cnp
cdef extern void c_sigmoid "sigmoid" (int, const double * const,
double * const, double)
def sigmoid(double [:] inp, double lim=350.0):
cdef cnp.ndarray[cnp.float64_t, ndim=1] out = np.empty(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[assembly: AssemblyTitle("Nezaboodka.Ndef")]
[assembly: AssemblyDescription("Nezaboodka.Ndef")]
[assembly: AssemblyConfiguration("")]
[assembly: ComVisible(false)]
[assembly: Guid("9df7f7e2-f79c-422f-a2f4-86a79d6be672")] // GUID for exposing to COM
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# save scores
with open(metrics_file, 'w') as f:
json.dump({'threshold': thresholdOpt, "acc": acc, "recall": recall, "f1": fscoreOpt}, f)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
### 1st line allows to execute this script by typing only its name in terminal, with no need to precede it with the python command
### 2nd line declaring source code charset should be not necessary but for exemple pydoc request it
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'[.com\u200b\001\002\003\004\005\006\007\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a]+',
'', text)
# print(str)
tokens = text.lower()
# print(tokens)
tokens = tokens.split()
tokens = [w.strip() for w in tokens if len(w.strip()) > 0 and not w.isdigit()]
return tokens,labels
with open("/data/tanggp/tmp/Starspace/python/test/tag_space2","r",encoding="utf8") as f:
lines=f.readlines()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from matplotlib.pyplot import figure
font = {'family' : 'Times New Roman',
'size' : 28}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from utils.display import displayWindow
from utils.weather import Weather
# from utils.train import Wmata
# from utils.clock import Clock
# weather = Weather()
# train = Wmata()
w = displayWindow()
w.root.mainloop()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
checkPrivilege(user, 'j/l')
checkPrivilege(user, 't/l')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if opt is not None:
self.opt = opt
root = opt['datasets']['pipal']
patch_num = opt['patch_num']
else:
patch_num = 32
refpath = os.path.join(root, 'Train_Ref')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#
# Code by <NAME>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use App\Common\Validation\RuleValidator\SingleRuleValidator;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
qmake-qt4 input.pro && make clean && make
qmake-qt4 output.pro && make clean && make
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.assertFalse(dpf("abc/bar/some.txt"))
# #
dpf = rf.directory_pattern_predicate("abc$")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sign: (e: number) => void;
signSchnorr: (e: number) => void;
verify: (Q: number, strict: number) => number;
verifySchnorr: () => number;
}
export default instance.exports as unknown as Secp256k1WASM;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
MODULE_NAME = 'headers'
def run():
r = requests.get(lib.common.SOURCE_URL)
# X-Forwarded-By:
if 'X-Powered-By' in r.headers:
lib.common.RESULT_ONE_DICT['X-Powered-By'] = r.headers['X-Powered-By']
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>ajaykrprajapati/django_ems
| ise-uiuc/Magicoder-OSS-Instruct-75K |
arr = arr.astype('int')
print(arr) | ise-uiuc/Magicoder-OSS-Instruct-75K |
use App\Http\Controllers\Controller;
use App\Models\Job;
use App\Models\Category;
use Illuminate\Http\Request;
class JobsController extends Controller {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
DEBT_SCORE_CHOICES = [
(GOOD, 'Bueno'),
(REGULAR, 'Regular'),
(BAD, 'Malo'),
(NULL, 'Nulo'),
]
id = models.AutoField(primary_key=True, unique=True)
first_name = models.CharField('Nombre Completo', max_length=30)
last_name = models.CharField('Apellidos', max_length=30)
email = models.EmailField('Correo Electronico', unique=True)
debt_mount = models.IntegerField(
'Monto de la deuda',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Fill out your copyright notice in the Description page of Project Settings.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public DateTime? Crdt { get; set; }
public int? Cruid { get; set; }
public DateTime? Dldt { get; set; }
public int? Dluid { get; set; }
public virtual ICollection<Grant> Grant { get; set; }
public virtual ICollection<ManagementUnit> ManagementUnit { get; set; }
public virtual User ApprovedBy { get; set; }
public virtual User Lmu { get; set; }
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# the "end=' '" adds a single space character at the end of Hello starts the next print right next ot it
print('cat', 'dog', 'mouse')
#the above will have a single space character
print('cat', 'dog', 'mouse', sep='ABC')
#the above "sep" argument will make ABC show in the spaces instead of a single space character
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# """Return DB Index"""
# # return None
# # CONNECT TO DATABASE
# self.open_connection()
# # INCREASE THE BUFFER SIZE IN MYSQL
# sql_str = "SET @newsize = 1024 * 1024 * 256"
# self.query_commit(sql_str)
# sql_str = "SET GLOBAL key_buffer_size = @newsize;"
# self.query_commit(sql_str)
# # CLOSE DB CONNECTION
| ise-uiuc/Magicoder-OSS-Instruct-75K |
sudo apt-get install helm=$VERSION
# Reference:
# https://helm.sh/docs/intro/install/#from-apt-debianubuntu
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@section('header_related')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
glm::mat4 roty = glm::rotate(unit, glm::radians(ry), glm::vec3(0.0f, 1.0f, 0.0f));
//printMatrix(roty, "roty");
glm::mat4 rotz = glm::rotate(unit, glm::radians(rz), glm::vec3(0.0f, 0.0f, 1.0f));
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for i in range(10, -1, -1):
print('{}'.format(i))
sleep(1)
print('Bum, BUM, POW')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#
# Virtual machine tuning
# Set heap size according to your available memory.
# In most cases this will be all you need to set (be sure
# you have allocated plenty for postgres).
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class JsonSerializer(Serializer):
def serialize(self, item):
return json.dumps(item).encode("utf-8")
def deserialize(self, data):
return json.loads(data.decode("utf-8"))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from gsee import brl_model, pv
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for j in xrange(y_len):
fname = '{}/{}_{}_{}_sat.png'.format(path, region, x_start + i, y_start + j)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if v_id == '':
print('Something broke.')
return
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cpu: Optional[str]
class ScriptTemplate(BaseModel):
"""
Reresents the values available when templating an HPC script.
"""
job: JobSettings
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fi
else
upstream_did_change=true
git clone ${APNS_TOOLS_REPO}
cd apns_tools
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"full_name": "awesome-dev/awesome-repo",
"pushed_at": "1970-01-01T00:00:00Z",
"archived": False,
"description": "Awesome!",
"topics": ["awesome"],
"default_branch": "master",
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def list_scores(self, request):
""" Scores listing handler.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
killall conky
echo "Starting Conky.."
start_conky_maia
| ise-uiuc/Magicoder-OSS-Instruct-75K |
text = pytesseract.image_to_string(adaptive_threshold, lang='eng')
return text
| ise-uiuc/Magicoder-OSS-Instruct-75K |
./lvtctl.sh RebuildVSchemaGraph
printf "\nVitess cluster started successfully.\n\n"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ngOnInit() {
this.getAttachmentButton();
}
/** */
getAttachmentButton() {
if (this.message && this.message.attributes && this.message.attributes.attachment) {
try {
this.type = this.message.attributes.attachment.type;
// console.log(this.type);
} catch (error) {
// this.g.wdLog(['> Error :' + error]);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import sys
import platform
import shutil
import flopy
| ise-uiuc/Magicoder-OSS-Instruct-75K |
deauth = array[5].replace(" ", "")
f.close()
g = open('/usr/share/csctk/deauth.txt', 'w')
g.write(deauth)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('groups', '0003_auto_20151128_1854'),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
svg_generation::render_svg(&"04_01_12".to_owned(), &"return_values".to_owned(), &vd);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.url = url
self.session = requests.Session()
def get_video(self):
headers = {
"Host": "xhslink.com",
"Upgrade-Insecure-Requests": "1",
"Pragma": "no-cache",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
"Chrome/79.0.3945.88 Safari/537.36"
}
source_headers = {
"cookie": "xhsTrackerId=6e8cc536-0d57-4226-c27c-831a6e51c4cc; xhsuid=6KOIxzWIclOk5WsI; "
| ise-uiuc/Magicoder-OSS-Instruct-75K |
img = np.array([[5, 4, 3, 2, 3], [6, 7, 8, 2, 1], [3, 5, 10, 8, 2], [6, 6, 8, 9, 3], [7, 2, 4, 7, 11]])
print(img)
outputs1, outputs2 = CLBP(img)
print(outputs1)
print(outputs2)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.