seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
import curryN from './utils/curry_n.ts'
import type { PH, Obj, Predicate1 } from './utils/types.ts'
import { complement } from './complement.ts'
import { filter } from './filter.ts'
// @types
type Reject_2<T> = (<F extends T[] | Obj<T>>(filterable: F) => F) &
((filterable?: PH) => Reject_2<T>)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#plot and save the histograms
saveHist(m1hAll, m1hObs, m1hRec, m1b, 'm1 (Msolar)', 'EBLSST_m1hist')
saveHist(qhAll, qhObs, qhRec, qb, 'q (m2/m1)', 'EBLSST_qhist')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace App\Jobs;
use App\Models\Visit;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
guard self.hasPrefix("#") else {
return nil
}
let hexString: String = String(self[self.index(self.startIndex, offsetBy: 1)...])
switch hexString.count {
case 4:
return "#\(String(hexString[self.index(self.startIndex, offsetBy: 1)...]))\(String(hexString[..<self.index(self.startIndex... | ise-uiuc/Magicoder-OSS-Instruct-75K |
dependencies = [
('web', '0006_auto_20150627_1942'),
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Geography,
Instrument,
Planet,
Tea,
Vehicle,
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* @param string $page_name
* @param null $page
* @return mixed
*/
| ise-uiuc/Magicoder-OSS-Instruct-75K |
list1=select_sort(list1)
print list1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
id="horizontal-length"
/>
<CssToken
title={vLength + 'px'}
id="vertical-length"
/>
<CssToken
title={blurR + 'px'}
id="blur-radius"
/>
<CssToken
title={spreadR + 'px'}
id="spread-radius" ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
[Required]
public string Name { get; set; }
public string Description { get; set; }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def t_info_process(self, *args, **kwargs):
"""
Check if the job corresponding to the search pattern is "done".
:param args:
:param kwargs:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
altura = float(input('Altura da parede: '))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for i in books:
user_giving_books.append(i) # userin vermek istedigi kitaplarin idsi
second_suggestion_scores = []
for other_user_id in user_ids:
if other_user_id != user.id:
other_user_wishlist = pd.DataFrame(list(WishList.objects.filter(user_id=other_us... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# cv2.waitKey()
thresh = remove_padding2D_zero(thresh, 2)
return thresh
def get_mask_value_area(img, mask, mval):
h,w = img.shape
iimg = np.zeros(img.shape, dtype=np.uint8)
for i in range(h):
for j in range(w):
if mask[i,j] == mval:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
stacksearch.search(e)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export abstract class CmsPageAdapter<S> {
abstract adapt(source: S): CmsStructureModel;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
nn.Linear(config.hidden_layer_units + ext_feats_size, config.num_classes),
nn.LogSoftmax(dim=1)
)
self.context_cnn = SimpleCNN(
num_of_conv=1,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<?= $item->title() ?>
</a>
</li>
<?php endforeach ?>
</ul>
</div>
</nav>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def test_get_all_replays_with_date_after(self, initialize_database_tags, test_client):
timestamp = 1538303129
session = initialize_database_tags.get_session()
r = Request('GET', LOCAL_URL + '/api/replay', params={'limit': 200, 'page': 0,
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# print(left_l.get_relative_position())
left_l = ml.add_text_label('left two', placement='left')
left_l = ml.add_text_label('left three', placement='left')
left_l = ml.add_text_label('left four', placement='left')
with self.file_path(path, 'left_position', 'pdf') as pdf_path:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def platform_config(self):
from models.fcm.platform_config import PlatformConfig
return PlatformConfig(collapse_key='{}_favorite_update'.format(self.user_id))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
in result.stdout_
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
creat by swm
"""
import openface
import os
import shutil
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import UIKit
final class ListsSeparatorView: UIView {
override init(frame: CGRect) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
examples = torch.load(path/"examples.pkl", pickle_module=dill)
# fields = torch.load(path/"fields.pkl", pickle_module=dill)
return data.Dataset(examples, fields)
class SubsetSampler(Sampler):
r"""Samples elements from a given list of indices, without replacement.
Arguments:
indices (sequen... | ise-uiuc/Magicoder-OSS-Instruct-75K |
stkvars = {}
var_decls = []
| ise-uiuc/Magicoder-OSS-Instruct-75K |
instruction = form.getvalue("instruction")
if flag is not None:
if int(flag) == 1:
print("""
<a href={}>ClickMe</a>
""".format(instruction))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fi
fi
wait $xorg
wait $jwm
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class Migration(migrations.Migration):
dependencies = [
('app', '0001_initial'),
]
operations = [
migrations.AlterField(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.profile.first_name + " " + self.profile.last_name
== self.profile.__str__()
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
van veel voor vaak vanaf vandaan vanuit vanwege veeleer verder verre vervolgens vgl volgens vooraf vooral vooralsnog
voorbij voordat voordien voorheen voorop voort voorts vooruit vrij vroeg
want waren was wat we wel werd wezen wie wij wil worden waar waarom wanneer want weer weg wegens weinig weinige weldra
welk welk... | ise-uiuc/Magicoder-OSS-Instruct-75K |
use crate::otp::erlang::tuple_size_1::native;
use crate::scheduler::with_process_arc;
use crate::test::strategy;
#[test]
fn without_tuple_errors_badarg() {
TestRunner::new(Config::with_source_file(file!()))
.run(
&strategy::process().prop_flat_map(|arc_process| {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.assertEqual(len(mail.outbox), 0)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
([1, 1, 2], 3),
])
def test_firstMissingPositive(nums, expected):
assert Solution().firstMissingPositive(nums) == expected
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def build_hash(self):
if self.origin_data is None:
raise RuntimeError(f"origin data is required. Run build_origin_data.")
self.hash = self._build_hash()
return self.hash
def _build_hash(self):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
@EventHandler
public void onPlayerInteractEntity(PlayerInteractEntityEvent event)
{
if (currentlyKilling.containsKey(event.getPlayer()))
{
if (currentlyKilling.get(event.getPlayer()).enabled())
{
Entity entity = event.getRightClicked();
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
all_list_methods = getmembers(list_methods, isfunction)
for method_name, method_function in all_list_methods:
add_method(list, method_name[:-7], method_function)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
func setNextDefaultBackground(for luid: LocalIdentifier) -> UIImage?
func setCustomBackground(image: UIImage, for luid: LocalIdentifier) -> Future<URL, RUError>
func deleteCustomBackground(for uuid: LocalIdentifier)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export declare class Ng2MapModule {
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// THE SOFTWARE.
//
import UIKit
//: [Previous](@previous)
/*:
# Integer Types

*/
//int8 은 1바이트를 저장 할 수 있는것 256 까지
//int64 는 8 바이트를 표시 가능
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# radius_u = 200
self.upper = GOval(2*radius, 2*radius)
red = GColor(255, 56, 56)
self.upper.filled = True
self.upper.fill_color = red
self.upper.color = red
# Boundary black
# radius_b = 210
self.bound = GOval(2*(radius+10/radius), 2*(ra... | ise-uiuc/Magicoder-OSS-Instruct-75K |
set -e
ESLINT=${path}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
resfunc.extend(encode_vector(params));
let types = func
.result_types
.clone()
.into_iter()
.map(|p| p.to_valtype() as u8)
.collect();
resfunc.extend(encode_vector(types));
res.push(resfunc);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
wn.mainloop() | ise-uiuc/Magicoder-OSS-Instruct-75K |
def start_socket_server():
server_address = ('0.0.0.0', SOCKET_PORT)
server = KeyLoggerTCPServer(server_address, ThreadedTCPRequestHandler)
# Start a thread with the server
server_thread = threading.Thread(target=server.serve_forever)
server_thread.daemon = True
server_thread.start()
logger... | ise-uiuc/Magicoder-OSS-Instruct-75K |
public String getProjectId() {
return this.projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
client.logout();
if (rejected.length() > 0) {
throw new EmailException(rejected.toString());
}
} finally {
client.disconnect();
}
} catch (IOException e) {
throw new EmailException("Cannot send outgoing email", e);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use App\Service\ImageView;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('drugs');
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import torch.nn as nn
from hierarchical_clustering.relaxed.models.model import HypHCModel
from util.ml_and_math.poincare import project
| ise-uiuc/Magicoder-OSS-Instruct-75K |
tick_list[buffer_idx] = row[0] # Tick number list: an 1 x line_number np array
op_id = row[3]
op_list.append(op_id) # Opname is just a simple list of strings
# Variables required for utility.wr_extractor, feed into the function, then abstract the ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
#include <bits/stdc++.h>
using namespace std;
inline long long int MIN(long long int a,long long int b){return (a>b)?b:a;}
int t;
long long int n,m;
int main()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export class ArticleService {
data: Object;
constructor(private http:Http) {}
private someArticlesUrl:string = "https://submissions.scholasticahq.com/api/v1/articles.json";
| ise-uiuc/Magicoder-OSS-Instruct-75K |
name='Ogone Payments')
ztapi.provideAdapter(IStore, IOgoneStandardOptions, OgoneStandardOptions)
ztapi.provideAdapter(annotation_interfaces.IAttributeAnnotatable,
annotation_interfaces.IAnnotations,
attribute.AttributeAnnotations)
def ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
this.appService.getCmlVersion()
.subscribe(result => { this.cmlVersion = result.cml_version; });
this.policyService.getPolicies()
.subscribe(result => { this.policies = result.length; });
this.metricService.getMetricObservable()
.subscribe(result => { this.metric = result; });
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# do some actions on reload
self.cfg.on_reload(self)
# unlink pidfile
if self.pidfile is not None:
self.pidfile.unlink()
# create new pidfile
if self.cfg.pidfile is not None:
self.pidfile = Pidfile(self.cfg.pidfile)
self.pidfile.crea... | ise-uiuc/Magicoder-OSS-Instruct-75K |
</div>
<div class="gray mb10">(话题之间空格隔开,限5个)</div>
<div class="post_tags_hot">
<em>热门话题</em>
<ul class="cc" id="J_hot_tag">
<?php
foreach ($hotTags as $v){
$v['tag_name'] = App\Core\Tool::substrs($v['tag_name'], 10);
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
@Override
public void onComplete(@NonNull Task<Void> task) {
Toast.makeText(EmailVerificationActivity.this,"Verification email sent.",Toast.LENGTH_SHORT).show();
Intent i = new Intent(EmailVerificationActivity.this, ... | ise-uiuc/Magicoder-OSS-Instruct-75K |
- https://getbootstrap.com/docs/4.3/components/modal/
"""
import panel as pn
import param
_CSS = """
.bk.modal {
/* This way it could be display flex or grid or whatever also. */
display: block;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from solthiruthi.dictionary import *
from tamil import wordutils
TVU, TVU_size = DictionaryBuilder.create(TamilVU)
ag, ag2 = wordutils.anagrams_in_dictionary(TVU)
with codecs.open("demo.txt", "w", "utf-8") as fp:
itr = 1
for k, c in ag:
v = ag2[k]
fp.write("%03d) %s\n" % (itr, " | ".join(v)))
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
}
return true
}
func splitViewController(splitViewController: UISplitViewController, separateSecondaryViewControllerFromPrimaryViewController _: UIViewController) -> UIViewController? {
// If no list is on the stack, fill the detail area with an empty controller.
if... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def csv_format(self):
return("CSV should contains lines of the format: "
"mount_point,mount_option,[mount_option]+")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
// Record the register read by this branch
match &block.terminator.elem {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
private TimeSpan GetSleepTime() => this.GetToday().AddDays(1) - DateTime.Now;
public void Dispose()
{
this._timer.Stop();
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import Alert from '../../../../components/AlertConfirm';
import CheckBoxGroup from './CheckBoxGroup';
import Input from '../../../../components/Input';
import { sentimentos } from './mock';
import { useNavigation } from '@react-navigation/native';
import api from '../../../../services/api';
import { AxiosError, AxiosRe... | ise-uiuc/Magicoder-OSS-Instruct-75K |
for i in L:
T+=i[0]
S += T + i[1]*20
print(S) | ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/bin/sh
/usr/bin/ruby /home/laprimaire/candidats/sync_index/sync_articles.rb
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if($this->denominator === 1) {
return (string) $this->numerator;
} else {
return sprintf('%d/%d', $this->numerator, $this->denominator);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
},
},
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
struct ThirtyTwoByte(SixteenByte, SixteenByte);
#[derive(Default)]
struct SixtyFourByte(ThirtyTwoByte, ThirtyTwoByte);
#[derive(Default)]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"cardinality": "SINGLE",
"isIndexable": true,
"isOptional": false,
"isUnique": true
},
{
"name": "startTime",
"typeName": "date",
"cardinality": "SI... | ise-uiuc/Magicoder-OSS-Instruct-75K |
NumCoefficients = numCoefficients;
NumData = numData;
PackedCoefficients = packedCoefficients;
PackedData = packedData;
}
/// <summary>
/// Creates an exact copy of this <see cref="Slice"/>.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const existsOnName = prop.name.toUpperCase().includes(this.filters.name.toUpperCase());
const existsOnDescription = prop.description.toUpperCase().includes(this.filters.name.toUpperCase());
if (existsOnName === true || existsOnDescription === true) {
return prop;
}
}).filter(n => n)... | ise-uiuc/Magicoder-OSS-Instruct-75K |
cout << "> ";
cout.flush();
getline(input,cmd);
if(!stateMachine.isTerminated())
{
if(!cmd.empty())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[test]
fn encrypt_decrypt_works() {
let (pk, sk) = box_::gen_keypair();
let (pk, sk) = (pk[..].to_vec(), sk[..].to_vec());
let doc = randombytes::randombytes(16);
let encrypted_data = Sealbox::encrypt(&pk, &doc).unwrap();
let decrypt_result = Sealbox::decrypt(&pk, &sk,... | ise-uiuc/Magicoder-OSS-Instruct-75K |
# import config
import threading
| ise-uiuc/Magicoder-OSS-Instruct-75K |
errors.Add(e.Error);
}
else
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import UIKit
class LocationTableViewCell: UITableViewCell {
// MARK: @IBOutlets
@IBOutlet weak var nameLabel: UILabel!
@IBOutlet weak var streetlabel: UILabel!
@IBOutlet weak var cityLabel: UILabel!
@IBOutlet weak var dateLabel: UILabel!
@IBOutlet weak var cellImageView: UIImageView!
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
Medium
7445
303
Add to List
Share
There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i] = [ai, bi] indicates that you must take course bi first if you want to take course ai.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.__save("leaderboard", leaderboard)
self.__save("level", level)
self.__save("server", server)
self.__save("map", map)
self.__save("mode", mode)
self.__save("season", currentSeason)
def __save(self, type, value):
if not self.directory.endswith('/'):
... | ise-uiuc/Magicoder-OSS-Instruct-75K |
* @throw - none.
*/
inline size_t getNumElements(const ArrayDimensions& dims) MW_NOEXCEPT {
size_t retVal = 1;
for (auto& elem : dims) {
retVal *= elem;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using MiddleMan.Pipeline;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
jsonUtf8.WriteString("message" + depth, "Hello, World!");
for (int i = 0; i < depth; i++)
{
jsonUtf8.WriteEndObject();
}
jsonUtf8.WriteEndObject();
jsonUtf8.Flush();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
phone = StringField(
'phone', validators=[DataRequired()]
)
image_link = StringField(
'image_link'
)
genres = QuerySelectMultipleField(
'genres',
get_label="name",
validators=[DataRequired()]
)
facebook_link = StringField(
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ck autotune pipeline:program pipeline_from_file=_setup_program_pipeline_tmp.json @autotune_program_pipeline_base_best.json
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'create title' => 'Add new post',
'edit title' => 'Edit post',
'delete' => 'Delete post',
'form' => [
'title' => 'Post Title',
'slug' => 'Slug',
'content' => 'Slug',
'ima... | ise-uiuc/Magicoder-OSS-Instruct-75K |
gt_box = info['num_box']
img = cv2.imread(image_name)
h, w, _ = img.shape
img = cv2.resize(img, (768, 576))
info_dict = {}
bboxes_json = []
ret = detector.run(image_name)
# 将输出结果写入到json中
results = ret['resul... | ise-uiuc/Magicoder-OSS-Instruct-75K |
{
internal class EndResponse
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// RUN: %target-swift-emit-ir %s -I %S/Inputs -enable-cxx-interop | %FileCheck %s
//
// We can't yet call member functions correctly on Windows (SR-13129).
// XFAIL: OS=windows-msvc
import MemberInline
public func sub(_ lhs: inout LoadableIntWrapper, _ rhs: LoadableIntWrapper) -> LoadableIntWrapper { lhs - rhs }
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def _initialize_parameter_parallel_groups(parameter_parallel_size=None):
data_parallel_size = int(dist.get_world_size())
if parameter_parallel_size is None:
parameter_parallel_size = int(data_parallel_size)
print(data_parallel_size, parameter_parallel_size)
assert data_parallel_size % paramete... | ise-uiuc/Magicoder-OSS-Instruct-75K |
for(int i=0;i<N;i++){
if(!visit[i])
ans++;
while(!visit[i]){
visit[i]=true;
i=enter[i];
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
except Exception as e:
print("get_allstatus - Estoy en la excepcion")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
-2. * get(lapse) * extrinsic_curvature.get(i, j);
for (size_t k = 0; k < SpatialDim; ++k) {
dt_spatial_metric->get(i, j) +=
shift.get(k) * deriv_spatial_metric.get(k, i, j) +
spatial_metric.get(k, i) * deriv_shift.get(j, k) +
spatial_metric.get(k, j) * deriv_s... | ise-uiuc/Magicoder-OSS-Instruct-75K |
'''
1\taaaa~^~bbbb~^~cccc
2\tdddd~^~EEEE~^~ffff
'''
import sys
ARR_DELIM = '~^~'
for row in sys.stdin:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return JsonResponse(parsed_changeds, safe=False)
# if the point value < 0, adjust the oldest transaction for the payer
def adjust(data):
try:
points = data['points']
# get transactions by payer
transaction_adjust = transactions.objects.filter(payer=data['payer']).order_by('timestamp... | ise-uiuc/Magicoder-OSS-Instruct-75K |
def FiltersDemo ():
return ipd.ClearIPDemo ( 'BasicTutorial2/Filters.py' )
def MorphologyDemo ():
return ipd.ClearIPDemo ( 'BasicTutorial2/Morphology.py' )
def MeasureRegionsDemo ():
return ipd.ClearIPDemo ( 'InteractiveTutorial/MeasureRegions.py' )
| ise-uiuc/Magicoder-OSS-Instruct-75K |
this.particle_pan.Controls.Add(this.label18);
this.particle_pan.Controls.Add(this.rand_f);
this.particle_pan.Controls.Add(this.label16);
this.particle_pan.Controls.Add(this.label7);
this.particle_pan.Controls.Add(this.label6);
this.particle_pa... | ise-uiuc/Magicoder-OSS-Instruct-75K |
count: Arc<AtomicUsize>,
}
impl Uart {
pub fn new() -> Self {
let (tx, rx) = channel();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
open var fill: SFSymbol { ext(.start.fill) }
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
open var vial: SFSymbol { ext(.start + ".vial") }
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
open var vialFill: SFSymbol { ex... | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.soft = nn.Softmax(dim=1)
self.tanh = nn.Tanh()
def forward(self,x):
| 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.