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

Function f

tfjs-core/src/ops/equal_test.ts:83–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 const a = tf.tensor1d([1, 2], 'int32');
82 const b = tf.tensor1d([1, 2, 3], 'int32');
83 const f = () => {
84 tf.equal(a, b);
85 };
86 expect(f).toThrowError();
87 });
88 it('mismatched Tensor1D shapes - float32', () => {

Callers

nothing calls this directly

Calls 1

equalMethod · 0.80

Tested by

no test coverage detected