async find(keys, defaultValue) {
          this.checkKeyAndValueTensor(keys, defaultValue);
          const $keys = await keys.data();
          return tfc.tidy(() => {
              const result = [];
              for (let i = 0; i < $keys.length; i++) {
                  const key = $keys[i];
                  const value = this.findWithDefault(key, defaultValue);
                  result.push(value);
              }
              return tfc.stack(result);
          });
      }
/**
       * Looks up keys in a hash table, outputs the corresponding values.
       *
       * Performs batch lookups, for every element in the key tensor, `find`
       * stacks the corresponding value into the return tensor.
       *
       * If an element is not present in the table, the given `defaultValue` is
       * used.
       *
       * @param keys Keys to look up. Must have the same type as the keys of the
       *     table.
       * @param defaultValue The scalar `defaultValue` is the value output for keys
       *     not present in the table. It must also be of the same type as the
       *     table values.
       */
Looks up keys in a hash table, outputs the corresponding values.
Performs batch lookups, for every element in the key tensor, `find`
stacks the corresponding value into the return tensor.

If an element is not present in the table, the given `defaultValue` is
used.

@param keys Keys to look up. Must have the same type as the keys of the
table.
@param defaultValue The scalar `defaultValue` is the value output for keys
not present in the table. It must also be of the same type as the
table values.
Looks up keys in a hash table outputs the corresponding values . Performs batch lookups for every element in the key tensor ` find ` stacks the corresponding value into the return tensor . If an element is not present in the table the given ` defaultValue ` is used . @param keys Keys to look up . Must have the same type as the keys of the table . @param defaultValue The scalar ` defaultValue ` is the value output for keys not present in the table . It must also be of the same type as the table values .
async find(keys, defaultValue) {
          this.checkKeyAndValueTensor(keys, defaultValue);
          const $keys = await keys.data();
          return tfc.tidy(() => {
              const result = [];
              for (let i = 0; i < $keys.length; i++) {
                  const key = $keys[i];
                  const value = this.findWithDefault(key, defaultValue);
                  result.push(value);
              }
              return tfc.stack(result);
          });
      }
async find ( keys , defaultValue ) { this . checkKeyAndValueTensor ( keys , defaultValue ) ; const $keys = await keys . data ( ) ; return tfc . tidy ( ( ) => { const result = [ ] ; for ( let i = 0 ; i < $keys . length ; i ++ ) { const key = $keys [ i ] ; const value = this . findWithDefault ( key , defaultValue ) ; result . push ( value ) ; } return tfc . stack ( result ) ; } ) ; }
Looks up keys in a hash table, outputs the corresponding values.
Looks up keys in a hash table outputs the corresponding values .