Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating umap version #2898

Merged
merged 4 commits into from
Dec 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tensorboard/plugins/projector/vz_projector/umap.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/

// TODO(@andycoenen): Figure out a way to properly import the .d.ts file
// generated in the umap-js build into the tensorboard build system
// https://raw.githubusercontent.com/PAIR-code/umap-js/1.0.3/lib/umap-js.d.ts
// TODO(@andycoenen): Figure out a way to properly import the .d.ts file.
// This version is currently a hand-picked subset of the API that is sufficient
// for what we use.

type DistanceFn = (x: Vector, y: Vector) => number;
type EpochCallback = (epoch: number) => boolean | void;
Expand Down
6 changes: 3 additions & 3 deletions third_party/js.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ def tensorboard_js_workspace():
# no @license header
licenses = ["notice"], # Apache License 2.0
sha256_urls = {
"85a2ff924f1bf4757976aca22fd0efb045d9b3854f5a4ae838c64e4d11e75005": [
"http://mirror.tensorflow.org/unpkg.com/umap-js@1.0.5/lib/umap-js.min.js",
"https://unpkg.com/umap-js@1.0.5/lib/umap-js.min.js",
"035fede477f10b909dd64a2ea01c031149ee523f54fb9bbe48a170eb04d53825": [
"http://mirror.tensorflow.org/unpkg.com/umap-js@1.2.2/lib/umap-js.min.js",
"https://unpkg.com/umap-js@1.2.2/lib/umap-js.min.js",
],
},
)
Expand Down