Correspondence between m and PyTorch call form
m | call |
---|---|
24 | argsort(rand((batch_count,K))) |
32 | argsort(randint(low=-2**31,high=2**31-1,(batch_count,K),dtype=integer32)) |
64 | argsort(randint(low=-2**63,high=2**63-1,(batch_count,K),dtype=integer64)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Step-by-Step Installation Guide | |
# Step 0: Remove existing NVIDIA drivers and CUDA installations | |
sudo yum erase -y nvidia cuda | |
# Step 1: Update the system and install dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lerna issue [ Lerna does not run scripts according to topological order #2731 ](https://github.com/lerna/lerna/issues/2731) | |
reports the bug, but issue was closed although not resolved. | |
Strangely, I didn't **notice** any problem until adding new scopes in the project. | |
But now I have the same bug. | |
I threw up something quick to get builds working again, and posted it here. | |
It's a near replacement but uses regexp instead of globbing. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am craigphicks on github. | |
* I am craigphicks (https://keybase.io/craigphicks) on keybase. | |
* I have a public key ASC8QGnm0y40XjjMeoQiia7-7ESqROa6XhlL-g9in4RUPQo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ | |
"type": { | |
"info": "this is a ts.Type with id=86", | |
"flags": [ | |
"Union" | |
], | |
"objectFlags": [ | |
"PrimitiveUnion" | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
"use strict"; | |
var e, t = { | |
5272: (e, t) => { | |
Object.defineProperty(t, "__esModule", { | |
value: !0 | |
}), t.default = function(e, t) { | |
for (const [a, n] of e.entries()) | |
if (t(n)) return a; | |
return null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as ts from 'typescript'; | |
import * as fs from 'fs'; | |
import * as path from 'path'; | |
import * as cp from 'child_process'; | |
import * as dm from '../src-ts/deep-merge-objects'; | |
function compile(fileNames: string[], options: ts.CompilerOptions): void { | |
const program = ts.createProgram(fileNames, options); | |
const emitResult = program.emit(); | |
const allDiagnostics = ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var net = require('net'); | |
var jsesc = require('jsesc'); | |
var ctrlC=false; | |
//var qwrite=[]; | |
async function Socketing(sock){ | |
return await new Promise((res,rej)=>{ | |
// Event: 'data' | |
sock.on('data', (d) => { | |
console.log(`sock data: ${jsesc(Buffer.from(d).toString(),{es6:true})}`); |
Chrome Version : Chromium 83.0.4103.116 snap Other browsers tested: Add OK or FAIL, along with the version, after other browsers where you have tested this issue:
Firefox: OK, "Mozilla Firefox 78.0.1" Chromium (non-span): OK, "Chromium 83.0.4103.61 Built on Ubuntu , running on Ubuntu 18.04"
What steps will reproduce the problem?
NewerOlder