Skip to content

Commit

Permalink
neue tf-version
Browse files Browse the repository at this point in the history
  • Loading branch information
NormanTUD committed Dec 8, 2023
1 parent 39e2d19 commit 6d2f9ef
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 25 deletions.
2 changes: 1 addition & 1 deletion asanai.js
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ class asanAI {
#python_names_to_js_names = {};

constructor (...args) {
var last_tested_tf_version = "4.11.0";
var last_tested_tf_version = "4.14.0";
var last_tested_jquery_version = "3.6.0";
var last_tested_plotly_version = "2.14.0";
var last_tested_temml_version = "0.10.14";
Expand Down
36 changes: 15 additions & 21 deletions tf/tf.js
Original file line number Diff line number Diff line change
Expand Up @@ -24844,7 +24844,7 @@
}
function convertToTensor(x, argName, functionName) {
var parseAsDtype = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'numeric';
if (x instanceof Tensor) {
if (x instanceof getGlobalTensorClass()) {
assertDtype(parseAsDtype, x.dtype, argName, functionName);
return x;
}
Expand Down Expand Up @@ -49360,7 +49360,7 @@

/** @license See the LICENSE file. */
// This code is auto-generated, do not modify this file!
var version$7 = '4.11.0';
var version$7 = '4.14.0';

var OptimizerConstructors = /*#__PURE__*/function () {
function OptimizerConstructors() {
Expand Down Expand Up @@ -60549,19 +60549,13 @@
return;
}
var outputMasks = this.computeMask(inputs, previousMask);
if (outputs instanceof Array && outputMasks instanceof Array) {
if (outputs.length !== outputMasks.length) {
throw new Error("".concat(this.name, " outputs ").concat(outputs.length, " tensors ") + "but ".concat(outputMasks.length, " masks for those tensors"));
}
for (var i = 0; i < outputs.length; i++) {
outputs[i].kerasMask = outputMasks[i];
}
} else if (outputMasks instanceof Array) {
throw new Error("{this.name} outputs a single tensor " + "but ".concat(outputMasks.length, " masks"));
} else if (outputs instanceof Array) {
throw new Error("{this.name} outputs ".concat(outputs.length, " tensors ") + "but only one mask");
} else {
outputs.kerasMask = outputMasks;
var outputsList = toList(outputs);
var outputMasksList = toList(outputMasks);
if (outputsList.length !== outputMasksList.length) {
throw new Error("".concat(this.name, " outputs ").concat(outputsList.length, " tensors ") + "but ".concat(outputsList.length, " masks for those tensors"));
}
for (var i = 0; i < outputsList.length; i++) {
outputsList[i].kerasMask = outputMasksList[i];
}
}
/**
Expand Down Expand Up @@ -64154,7 +64148,7 @@

/** @license See the LICENSE file. */
// This code is auto-generated, do not modify this file!
var version$6 = '4.11.0';
var version$6 = '4.14.0';

// get weights key from tensor map in order to check if it is from keras v3.
// e.g. dense/0
Expand Down Expand Up @@ -92102,7 +92096,7 @@

/** @license See the LICENSE file. */
// This code is auto-generated, do not modify this file!
var version$5 = '4.11.0';
var version$5 = '4.14.0';

/**
* @license
Expand Down Expand Up @@ -97612,7 +97606,7 @@

/** @license See the LICENSE file. */
// This code is auto-generated, do not modify this file!
var version$4 = '4.11.0';
var version$4 = '4.14.0';

/**
* @license
Expand Down Expand Up @@ -101347,7 +101341,7 @@

/** @license See the LICENSE file. */
// This code is auto-generated, do not modify this file!
var version$3 = '4.11.0';
var version$3 = '4.14.0';

/**
* @license
Expand Down Expand Up @@ -115111,7 +115105,7 @@

/** @license See the LICENSE file. */
// This code is auto-generated, do not modify this file!
var version$2 = '4.11.0';
var version$2 = '4.14.0';

/**
* @license
Expand Down Expand Up @@ -126711,7 +126705,7 @@

/** @license See the LICENSE file. */
// This code is auto-generated, do not modify this file!
var version$1 = '4.11.0';
var version$1 = '4.14.0';

/**
* @license
Expand Down
2 changes: 1 addition & 1 deletion tf/tf.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tf/tf.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tf/tf.min.js.map.js

Large diffs are not rendered by default.

0 comments on commit 6d2f9ef

Please sign in to comment.