tfjs
tfjs copied to clipboard
Extend LossOrMetricFn type
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.
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.