MCPcopy
hub / github.com/tensorflow/tfjs / ValueError

Class ValueError

tfjs-layers/src/errors.ts:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 * Equivalent of Python's ValueError.
45 */
46export class ValueError extends Error {
47 constructor(message?: string) {
48 super(message);
49 // Set the prototype explicitly.
50 Object.setPrototypeOf(this, ValueError.prototype);
51 }
52}
53
54/**
55 * Equivalent of Python's NotImplementedError.

Callers 15

predictFunction · 0.85
AddFiltersMethod · 0.85
quantize_weightsFunction · 0.85
dequantize_weightsFunction · 0.85
read_weightsFunction · 0.85
decode_weightsFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…