tfjs icon indicating copy to clipboard operation
tfjs copied to clipboard

Extend LossOrMetricFn type

Open gnodar01 opened this issue 3 years ago • 1 comments

cosineDistance expects a third axis parameter which LossOrMetricFn doesn't account for, which will cause typescript to complain when using losses directly from tfjs-cor/dist/ops rather than strings.


This change is Reviewable

gnodar01 avatar Aug 22 '22 18:08 gnodar01

Seems like it's failing on:

Step # 2 - "run-cloudbuild": Step # 5 - "bazel-tests": FAIL: //tfjs-layers:bs_chrome_mac_tfjs-layers_webgl2_test (see /builder/home/.cache/bazel/_bazel_root/eab0d61a99b6696edb3d2aff87b585e8/execroot/tfjs/bazel-out/k8-fastbuild/testlogs/tfjs-layers/bs_chrome_mac_tfjs-layers_webgl2_test/test.log)

but not sure how to access the logs.

gnodar01 avatar Aug 22 '22 21:08 gnodar01