I hereby claim:
- I am owulveryck on github.
- I am owulveryck (https://keybase.io/owulveryck) on keybase.
- I have a public key whose fingerprint is CA7D BBE2 A8D3 41AD 5419 D40F 2503 3D41 B2EA 07D5
To claim this, I am signing this object:
func broadcast(ctx context.Context, ch <-chan gorgonia.Value, cs []chan gorgonia.Value) { | |
for { | |
select { | |
case msg := <-ch: | |
for _, c := range cs { | |
select { | |
case c <- msg: | |
case <-ctx.Done(): | |
return | |
} |
runtime: python37 | |
service: website | |
handlers: | |
- url: /(.*)/ | |
static_files: www/\1/index.html | |
upload: www/(.*) | |
- url: / | |
static_files: www/index.html |
sepal_length | sepal_width | petal_length | petal_width | species | |
---|---|---|---|---|---|
5.1 | 3.5 | 1.4 | 0.2 | setosa | |
4.9 | 3.0 | 1.4 | 0.2 | setosa | |
4.7 | 3.2 | 1.3 | 0.2 | setosa | |
4.6 | 3.1 | 1.5 | 0.2 | setosa | |
5.0 | 3.6 | 1.4 | 0.2 | setosa | |
5.4 | 3.9 | 1.7 | 0.4 | setosa | |
4.6 | 3.4 | 1.4 | 0.3 | setosa | |
5.0 | 3.4 | 1.5 | 0.2 | setosa | |
4.4 | 2.9 | 1.4 | 0.2 | setosa |
package main | |
import ( | |
"context" | |
"crypto/tls" | |
"crypto/x509" | |
"io/ioutil" | |
"log" | |
"os" | |
"testing" |
func eqInDelta(a,b tensor.Tensor, delta float32) bool { | |
outputValue := outputT[0].Data().([]float32) | |
expectedValue := expectedOutput.Data().([]float32) | |
if ! outputT[0].Shape().Eq(expectedOutput.Shape()) { | |
return false | |
} | |
for i := 0; i < len(outputValue); i++ { | |
if math.Abs(float64(outputValue[i]-expectedValue[i])) > delta { | |
return false |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"os" | |
"github.com/hashicorp/hcl" |
package main | |
import ( | |
"fmt" | |
"regexp" | |
"strings" | |
) | |
func main() { | |
fmt.Println(toCamelCase("blo_bla_Di_bla")) |
func main() { | |
b, err := ioutil.ReadFile("model.onnx") | |
if err != nil { | |
panic(err) | |
} | |
/* | |
var qb bytes.Buffer | |
fmt.Fprint(&qb, `data := "`) | |
print(&qb, b) | |
fmt.Fprint(&qb, `"`) |
Usage
go run *go github.com/owulveryck/test/