seed
stringlengths
1
14k
source
stringclasses
2 values
use std::collections::HashMap;
ise-uiuc/Magicoder-OSS-Instruct-75K
build_style = "python_module"
ise-uiuc/Magicoder-OSS-Instruct-75K
null_logger = logging.getLogger("") null_logger.setLevel(logging.ERROR) null_logger.info("Info message") null_logger.error("Error message")
ise-uiuc/Magicoder-OSS-Instruct-75K
logger = RolloutLogger(out_dir=out_dir, render=True, filename_header='') logger.on_reset(obs=None, image_frame=gen_dammy_image_frame()) for i in range(10): logger.on_step(action=0,
ise-uiuc/Magicoder-OSS-Instruct-75K
#!/bin/bash # The `awk` script isn't nearly as hairy as it seems. The only real trick is # the first line. We're processing two files -- the result of the `cat` pipeline # above, plus the gperf template. The "NR == FNR" compares the current file's # line number with the total number of lines we've processed -- i.e., that test # means "am I in the first file?" So we suck those lines aside. Then we process # the second file, replacing "%%%%%" with some munging of the lines we sucked
ise-uiuc/Magicoder-OSS-Instruct-75K
while : ; do task && echo >> .fc done
ise-uiuc/Magicoder-OSS-Instruct-75K
sex: ['', Validators.nullValidator], dob: ['', Validators.nullValidator], nationality: ['', Validators.required], assignedDate: [new Date(), Validators.nullValidator]
ise-uiuc/Magicoder-OSS-Instruct-75K
speech_output = "The only antonym for " + word + " is " + antonyms_list[0] + "." else:
ise-uiuc/Magicoder-OSS-Instruct-75K
The size of the serialized header, in bytes """ raw_header_message = cnf.ControlNetFileHeaderV0002() raw_header_message.created = creation_date raw_header_message.lastModified = modified_date raw_header_message.networkId = networkid
ise-uiuc/Magicoder-OSS-Instruct-75K
@main.route('/download', methods=['POST']) @login_required
ise-uiuc/Magicoder-OSS-Instruct-75K
logging.info(f"Loading root {root_name}") segmentation, venus_stack, files = dl.load_by_name(root_name) # fids = [3, 9] dfs = [] for fid in files: df = measure_set_of_regions(segmentation, venus_stack, files[fid]) df['file_id'] = fid dfs.append(df) df_all = pd.concat(dfs) df_all.to_csv(f"{root_name}-spherefit.csv", index=False)
ise-uiuc/Magicoder-OSS-Instruct-75K
from ocnn.dataset.dataset_structure import FolderMappedStructure from ocnn.dataset.dataset_structure import CsvMappedStructure
ise-uiuc/Magicoder-OSS-Instruct-75K
"""Tests of zero_x.middlewares."""
ise-uiuc/Magicoder-OSS-Instruct-75K
if hasattr(obj, 'isoformat'): return obj.isoformat() return str(obj)
ise-uiuc/Magicoder-OSS-Instruct-75K
@validator("text") def check_text_content(cls, text: str): assert text and text.strip(), "No text or empty text provided" return text
ise-uiuc/Magicoder-OSS-Instruct-75K
for i, v in enumerate(ranking): print(f'{i+1}º lugar: {v[0]} com {v[1]}!') sleep(1)
ise-uiuc/Magicoder-OSS-Instruct-75K
const models = await generator.generate(jsonSchemaDraft7); for (const model of models) { console.log(model.result); } } generate();
ise-uiuc/Magicoder-OSS-Instruct-75K
# http://www.apache.org/licenses/LICENSE-2.0 # # 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. # Lint as: python3 """Library of decoder layers.""" from ddsp import core from ddsp.training import nn
ise-uiuc/Magicoder-OSS-Instruct-75K
if (policy == "never" || policy == "no-referrer") return ReferrerPolicyNever;
ise-uiuc/Magicoder-OSS-Instruct-75K
SelectListenStrategy(ListenSocket& m_listenSocket); ~SelectListenStrategy(); void Reset() override final; void Prepare() override final; void Start() override final;
ise-uiuc/Magicoder-OSS-Instruct-75K
def __new__(cls, s): # make sure cls has its own _known and _exclusive - # i'm sure there is a better way to do this... if '_known' not in cls.__dict__: cls._known = {} cls._exclusive = False
ise-uiuc/Magicoder-OSS-Instruct-75K
pass def merge_config(self, config): if config.get('dependencies'): pass class Dataset:
ise-uiuc/Magicoder-OSS-Instruct-75K
def JsonResponse(data): return HttpResponse(json.dumps(data), content_type="application/json")
ise-uiuc/Magicoder-OSS-Instruct-75K
void Manager::get_salary() { cout << "salary is " << salary << ", test is " << test << endl; } void Manager::func() { Person::func(); cout << "This is Manager, this is " << this << endl; } void Manager::func_1(string name) { cout << "This is Manager::func_1(), this is " << this << endl; } void Manager::func_1() { cout << "This is Manager::func_1() without name, this is " << this << endl;
ise-uiuc/Magicoder-OSS-Instruct-75K
# +graphics.popups # +graphics.widgets
ise-uiuc/Magicoder-OSS-Instruct-75K
} class Demo3CellItem: CellItemProtocol { var registerType: TableViewRegisterType = .nib(CellItem3Cell.typeName.toNib()) var identifier: String = "cell3" var cellConfigurator = CellConfigurator() var actionHandler = CellActionHandler() var cellDisplayingContext = CellItemDisplayingContext() let texts: [String] init(texts: [String]) { self.texts = texts
ise-uiuc/Magicoder-OSS-Instruct-75K
*/ public Object get(String key) { return get(Util.symbol(key)); } /** * Gets a value at a particular index in the result. * @param idx Index to retrieve value from
ise-uiuc/Magicoder-OSS-Instruct-75K
self.driver = driver self.base_timestamp = datetime.now().strftime('%Y%m%d%H%M%S') self.iteration = 0 def save(self, name=None): timestamp = f'{self.base_timestamp}-{self.iteration:04d}-{self.driver.name}' if name == None: name = timestamp else: name = timestamp + '-' + name self.iteration += 1 filepath = os.path.join("screenshots", f"{name}.png")
ise-uiuc/Magicoder-OSS-Instruct-75K
<h4 class="product-price">{{#formatPrice}}salePrice{{/formatPrice}}</h4> {{/hasDiscount}}
ise-uiuc/Magicoder-OSS-Instruct-75K
return [np.array(T), np.array(LL)]
ise-uiuc/Magicoder-OSS-Instruct-75K
for i, viewset in enumerate(all_viewsets): if i == 0: most_child = view_class = type( f'{viewset.__name__}__TestWrapper', (viewset,), dict(vars(viewset))
ise-uiuc/Magicoder-OSS-Instruct-75K
"Fri", "Sat", ] }); pub static shortMonthNames: Lazy<Vec<&str>> = Lazy::new(|| { vec![ "Jan", "Feb",
ise-uiuc/Magicoder-OSS-Instruct-75K
# but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # TODO Add enviroments variables: # - UID -> https://devtalk.nvidia.com/default/topic/996988/jetson-tk1/chip-uid/post/5100481/#5100481 # - GCID, BOARD, EABI ########################### #### JETPACK DETECTION #### ###########################
ise-uiuc/Magicoder-OSS-Instruct-75K
std::wcout << "- PTR: " << r->Data.PTR.pNameHost << std::endl;
ise-uiuc/Magicoder-OSS-Instruct-75K
p: FHIR_Extension = { "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", "valueBoolean": True, "valueAddress": {"city": "Springfield", "state": "Massachusetts", "country": "US"}, "_valueTime": { "id": "123", }, }
ise-uiuc/Magicoder-OSS-Instruct-75K
} void test_method_(create_size_with_values) { size s(1, 2); assert::are_equal(size(1, 2), s); assert::are_not_equal(size::empty, s); assert::are_equal(1, s.width()); assert::are_equal(2, s.height()); } void test_method_(create_size_with_copy) { size s = {1, 2}; assert::are_equal(size(1, 2), s); assert::are_not_equal(size::empty, s);
ise-uiuc/Magicoder-OSS-Instruct-75K
#include <map> #include <numeric> #include <queue> #include <random>
ise-uiuc/Magicoder-OSS-Instruct-75K
upload_id = r.json().get("data", {}).get("upload_id") if not upload_id: raise Exception("get invalid upload_id") _headers["X-SW-UPLOAD-ID"] = upload_id _manifest = yaml.safe_load(_manifest_path.open()) # TODO: add retry deco def _upload_blob(_fp: Path) -> None: if not _fp.exists():
ise-uiuc/Magicoder-OSS-Instruct-75K
y_prob = raw_probabilities elif self.param['application'] == 'binary': probability_of_one = raw_probabilities probability_of_zero = 1 - probability_of_one
ise-uiuc/Magicoder-OSS-Instruct-75K
pub mod dense;
ise-uiuc/Magicoder-OSS-Instruct-75K
public RecursivePathException(string message) : base(message) { } public RecursivePathException(string message, Exception innerException) : base(message, innerException) { } } }
ise-uiuc/Magicoder-OSS-Instruct-75K
* @return void
ise-uiuc/Magicoder-OSS-Instruct-75K
const MasaNetStatus& CmdStatusResponse::getStatus() const { return status; }
ise-uiuc/Magicoder-OSS-Instruct-75K
then
ise-uiuc/Magicoder-OSS-Instruct-75K
data = ""
ise-uiuc/Magicoder-OSS-Instruct-75K
import sys, asyncio, os from catalog import searchDomains, findOpenPorts, kafkaProducer, festin, filterRepeated, S3Store, S3Write from aux import consumer, producer async def dispatcher(p, kafkaQ, S3Q): if p["port"] == "80": await kafkaQ.put(p)
ise-uiuc/Magicoder-OSS-Instruct-75K
public function getId(): int { return $this->id; } public function setId(int $id): void { $this->id = $id; } public function getCreatedAt(): \DateTime {
ise-uiuc/Magicoder-OSS-Instruct-75K
interface MessengerProviderProps { children: React.ReactNode; } export function MessengerProvider({ children }: MessengerProviderProps) { const identity = useIdentity(); const nickname = useNickname(); const messenger = useMessenger(identity, nickname);
ise-uiuc/Magicoder-OSS-Instruct-75K
log = mls.Logging() shutil.rmtree(os.path.join(cls.base_directory, log.base_dir), ignore_errors=True) def test_get_node(self):
ise-uiuc/Magicoder-OSS-Instruct-75K
np.expand_dims(np.count_nonzero(a_isnan, axis=axis), axis)) # The return value is nan where ddof > ngood. ddof_too_big = ddof > ngood # If ddof == ngood, the return value is nan where the input is constant and
ise-uiuc/Magicoder-OSS-Instruct-75K
'yearMonthDuration', 'float']
ise-uiuc/Magicoder-OSS-Instruct-75K
metadata=metadata
ise-uiuc/Magicoder-OSS-Instruct-75K
from utils import config as cfg from typing import * class EmbedFactory:
ise-uiuc/Magicoder-OSS-Instruct-75K
self.new_alphabet = [ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' ] for i in range(int(offset)): self.new_alphabet.insert(0, self.new_alphabet.pop(-1)) return offset def encrypt(self, text):
ise-uiuc/Magicoder-OSS-Instruct-75K
class Migration(migrations.Migration): dependencies = [ ('notifications', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='noticedigest', name='notice_types', ),
ise-uiuc/Magicoder-OSS-Instruct-75K
#bin="/opt/local/bin/convert" bin="/usr/local/bin/convert" # for FILE in "$@" ; do
ise-uiuc/Magicoder-OSS-Instruct-75K
print(k_max)
ise-uiuc/Magicoder-OSS-Instruct-75K
*/ public function getCMSFields() { // Obtain Field Objects (from parent): $fields = parent::getCMSFields(); // Remove Field Objects:
ise-uiuc/Magicoder-OSS-Instruct-75K
declare(strict_types=1); namespace Lit\Router\FastRoute\ArgumentHandler; use Psr\Http\Message\ServerRequestInterface; interface ArgumentHandlerInterface { public function attachArguments(ServerRequestInterface $request, array $routeArgs): ServerRequestInterface; }
ise-uiuc/Magicoder-OSS-Instruct-75K
LOG(INFO) << "Output tensor size is " << model_output_tensors_.size(); for (int i = 0; i < model_output_tensors_.size(); ++i) { output_tensors_[i].set_dtype(model_output_tensors_[i]->dtype());
ise-uiuc/Magicoder-OSS-Instruct-75K
} .store(in: &cancellables)
ise-uiuc/Magicoder-OSS-Instruct-75K
import discord except ModuleNotFoundError: pass else: from .DPYClient import DPYClient
ise-uiuc/Magicoder-OSS-Instruct-75K
def graph(self): """ScaffoldGraph: return the graph associated with the visualizer.""" return self._graph @graph.setter def graph(self, graph): self._graph = self._validate_graph(graph) def _validate_graph(self, graph): """Private: Validate a graph is suitable for visualizer."""
ise-uiuc/Magicoder-OSS-Instruct-75K
return True # Jupyter notebook or qtconsole if shell == 'TerminalInteractiveShell': return False # Terminal running IPython return False except NameError: return False
ise-uiuc/Magicoder-OSS-Instruct-75K
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. """ `circuitroomba` ================================================================================ CircuitPython helper library for interfacing with Roomba Open Interface devices. * Author(s): <NAME> **Hardware:**
ise-uiuc/Magicoder-OSS-Instruct-75K
// function testDecorators<T extends new (...args: any[]) => {}>(constructor: T) { // return class extends constructor { // name = 'Li'; // getName() {
ise-uiuc/Magicoder-OSS-Instruct-75K
NONE = 0 ELEVATED = 1 class VerificationLevel(IntEnum): NONE = 0 LOW = 1 MEDIUM = 2 HIGH = 3 VERY_HIGH = 4 class NSFWLevel(IntEnum): DEFAULT = 0 EXPLICIT = 1
ise-uiuc/Magicoder-OSS-Instruct-75K
n = p*q ns = str(n) ctxt = pow(bytes_to_long(flag1), e, n) class SneakyUserException(Exception): pass def print_ctxt(t): print("Here's the encrypted message:", t) print("e =", e)
ise-uiuc/Magicoder-OSS-Instruct-75K
// single username forms. const base::Feature kUsernameFirstFlowFallbackCrowdsourcing = { "UsernameFirstFlowFallbackCrowdsourcing", base::FEATURE_DISABLED_BY_DEFAULT}; #if defined(OS_ANDROID) // Current migration version to Google Mobile Services. If version saved in pref // is lower than 'kMigrationVersion' passwords will be re-uploaded. extern const base::FeatureParam<int> kMigrationVersion = { &kUnifiedPasswordManagerMigration, "migration_version", 0}; #endif
ise-uiuc/Magicoder-OSS-Instruct-75K
} /** * Method which can be used to close the prepared statement. */ private void closePreparedStatement(PreparedStatement statement) { try { if (statement != null) { statement.close(); }
ise-uiuc/Magicoder-OSS-Instruct-75K
def setup(bot): bot.add_cog(CustomCommands(bot))
ise-uiuc/Magicoder-OSS-Instruct-75K
assert to_int('1357') == 1357
ise-uiuc/Magicoder-OSS-Instruct-75K
cd spark-2.1.1-drizzle-bin-drizzle/ done
ise-uiuc/Magicoder-OSS-Instruct-75K
<filename>src/application/controllers/user/show-user-controller.ts import { IShowUser } from '@/application/usecases/user/interfaces/show-user-interface'; import { RequiredFieldValidator } from '@/application/validations/required-field-validator'; import { IValidator } from '@/application/validations/validator-interface'; import { HttpRequest, HttpResponse } from '@/shared/interfaces/http'; import { BaseController } from '../base-controller'; export class ShowUserController extends BaseController {
ise-uiuc/Magicoder-OSS-Instruct-75K
image[y,x][2] = cmap[index] image[y,x][1] = cmap[index+1]
ise-uiuc/Magicoder-OSS-Instruct-75K
let leadingConstraint = rectanglePopoverParent.leadingAnchor.constraint(equalTo: leftToolbarParent.trailingAnchor, constant: 2) let topConstraint = rectanglePopoverParent.topAnchor.constraint(equalTo: rectangleButton.topAnchor, constant: 0) let widthConstraint = rectanglePopoverParent.widthAnchor.constraint(equalTo: leftToolbarParent.widthAnchor, constant: 0) let heightConstraint = rectanglePopoverParent.heightAnchor.constraint(equalTo: rectangleButton.heightAnchor, multiplier: 2) NSLayoutConstraint.activate([leadingConstraint, topConstraint, widthConstraint, heightConstraint]) rectanglePopoverToolbar.axis = .vertical rectanglePopoverToolbar.distribution = .fillEqually let tapGesture = UITapGestureRecognizer(target: self, action: #selector(rectanglePopoverTapHandler(gesture:))) tapGesture.cancelsTouchesInView = false rectanglePopoverToolbar.addGestureRecognizer(tapGesture) let rectangleFilledImage = UIImage(named: "RectangleFilled.pdf") let rectangleFilledButton = DrawToolbarPersistedButton(image: rectangleFilledImage!)
ise-uiuc/Magicoder-OSS-Instruct-75K
import sys import requests import json token = sys.argv[1] user_agent = supported_clients.KATE.user_agent sess = requests.session() sess.headers.update({'User-Agent': user_agent}) def prettyprint(result): print(json.dumps(json.loads(result.content.decode('utf-8')), indent=2))
ise-uiuc/Magicoder-OSS-Instruct-75K
if (nullptr != visitor) visitor->visit(*this); } void BM188X::AveragePool::accept(ComputeVisitor& pV) const { BM188xVisitor* visitor = dyn_cast<BM188xVisitor>(&pV); if (nullptr != visitor) visitor->visit(*this); }
ise-uiuc/Magicoder-OSS-Instruct-75K
f = open("/proc/loadavg") con = f.read().split() f.close() return float(con[2])
ise-uiuc/Magicoder-OSS-Instruct-75K
@given('a built environment loader') def a_built_environment_loader(katamari): katamari.environment = Environment()
ise-uiuc/Magicoder-OSS-Instruct-75K
layout.sectionInset = UIEdgeInsets(top: 20, left: 2, bottom: 20, right: 2) layout.itemSize = CGSize(width: itemSize, height: itemSize) layout.minimumInteritemSpacing = 5 layout.minimumLineSpacing = 5 self.collectionView.collectionViewLayout = layout } override func viewWillAppear(_ animated: Bool) { self.title = patient.name() }
ise-uiuc/Magicoder-OSS-Instruct-75K
final class AddNewEmployeeState { enum Change { case error(message: String?) case loading(Bool) case success } var onChange: ((AddNewEmployeeState.Change) -> Void)? /// Loading state indicator var isLoading = false { didSet {
ise-uiuc/Magicoder-OSS-Instruct-75K
token_header = request.headers.get(header_key) if not token_header: raise NoAuthorizationError(f'Missing header "{header_key}"') parts: List[str] = token_header.split() if parts[0] != header_prefix or len(parts) != 2: raise InvalidHeaderError( f"Bad {header_key} header. Expected value '{header_prefix} <JWT>'" ) encoded_token: str = parts[1]
ise-uiuc/Magicoder-OSS-Instruct-75K
// Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
ise-uiuc/Magicoder-OSS-Instruct-75K
# -*- coding: utf-8 -*- from pandas.util.testing import assert_frame_equal from .spark_fixture import local_spark
ise-uiuc/Magicoder-OSS-Instruct-75K
* * SICS grants you the right to use, modify, and redistribute this * software for noncommercial purposes, on the conditions that you: * (1) retain the original headers, including the copyright notice and * this text, (2) clearly document the difference between any derived * software and the original, and (3) acknowledge your use of this * software in pertaining publications and reports. SICS provides * this software "as is", without any warranty of any kind. IN NO * EVENT SHALL SICS BE LIABLE FOR ANY DIRECT, SPECIAL OR INDIRECT, * PUNITIVE, INCIDENTAL OR CONSEQUENTIAL LOSSES OR DAMAGES ARISING OUT * OF THE USE OF THE SOFTWARE. * * ----------------------------------------------------------------- * * ServerConfig
ise-uiuc/Magicoder-OSS-Instruct-75K
ios::sync_with_stdio(false); int n; cin >> n; vector<vector<int>> ball(n + 1); // 色名の管理 set<int> ctyp; int x, c;
ise-uiuc/Magicoder-OSS-Instruct-75K
_ => false, }) .count() } fn main() { println!("Hello, world!");
ise-uiuc/Magicoder-OSS-Instruct-75K
return HttpResponseRedirect(request.META['HTTP_REFERER']) delete_bookmark = login_required(delete_bookmark)
ise-uiuc/Magicoder-OSS-Instruct-75K
import io.restassured.specification.RequestSpecification;
ise-uiuc/Magicoder-OSS-Instruct-75K
Test Class to test the behaviour of the Article class ''' def setUp(self): ''' Set up method that will run before every Test ''' self.new_article = Article('NewsDaily', 'NewsDailyTrue','<NAME>', 'Hummus...thoughts?','Literally talking about hummus sir','www.newsdaily.net','www.newsdaily.net/picOfHummus6', '2020/2/3', 'lorem gang et all')
ise-uiuc/Magicoder-OSS-Instruct-75K
def __repr__(self) -> str: return f'<Listing: {self.address} - ${self.price}>' class ListingImage(models.Model): listing = models.ForeignKey(Listing, on_delete=models.CASCADE, related_name='listing')
ise-uiuc/Magicoder-OSS-Instruct-75K
int main() { int n, q , f; while (cin >> n) { f = -1;
ise-uiuc/Magicoder-OSS-Instruct-75K
class StructlogHandler(logging.Handler): """ Feeds all events back into structlog. """ def __init__(self, *args, **kw): super(StructlogHandler, self).__init__(*args, **kw) self._log = structlog.get_logger() def emit(self, record): tags = dict( level=record.levelno, event=record.getMessage(), name=record.name,
ise-uiuc/Magicoder-OSS-Instruct-75K
url = 'https://github.com/rockyzhengwu/FoolNLTK',
ise-uiuc/Magicoder-OSS-Instruct-75K
field=models.IntegerField(null=True, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(100)]), ), migrations.AlterField(
ise-uiuc/Magicoder-OSS-Instruct-75K
QuestionAnsweringData, default_datamodule_builder=from_squad, default_arguments={ "trainer.max_epochs": 3, "model.backbone": "distilbert-base-uncased", }, legacy=True, ) cli.trainer.save_checkpoint("question_answering_model.pt")
ise-uiuc/Magicoder-OSS-Instruct-75K
print("")
ise-uiuc/Magicoder-OSS-Instruct-75K
for orders_row in orders_file: # read orders query orders_id, orders_query = self._data_row_to_query(orders_row, 'orders', ORDERS_QUOTE_INDEX_LIST) insert_queries.append(orders_query) # read next lineitem query if current orders query has lineitem children while orders_id == lineitem_id and (lineitem_row := next(lineitem_file, None)) is not None: # add lineitem insert_queries[-1] += lineitem_query lineitem_id, lineitem_query = self._data_row_to_query(lineitem_row, 'lineitem', LINEITEM_QUOTE_INDEX_LIST)
ise-uiuc/Magicoder-OSS-Instruct-75K
super(GCN_DGL, self).__init__() self.layer1 = GraphConv(in_dim, hidden_dim, norm='right', allow_zero_in_degree=True, activation=torch.relu) self.layer2 = GraphConv(hidden_dim, out_dim, norm='right', allow_zero_in_degree=True, activation=torch.relu) def forward(self, g, features): x = F.relu(self.layer1(g, features)) x = self.layer2(g, x)
ise-uiuc/Magicoder-OSS-Instruct-75K