Files
tensorflow--tensorflow/tensorflow/examples/custom_ops_doc
wehub-resource-sync 8a852e4b4e
cffconvert / validate (push) Has been skipped
License Check / license-check (push) Failing after 2s
chore: import upstream snapshot with attribution
2026-07-13 12:14:16 +08:00
..

Custom Ops Examples

The following subdirectories have examples of Custom Ops.

  • multiplex_1: starting example, similar to np.where
  • multiplex_2: GPU (and CPU) example, similar to np.where
  • multiplex_3: dispatch to special case kernel (and sparse tensors)
  • multiplex_4: C++ backward compatibility example: lists of tensors
  • simple_hash_table: internal state using a Resource using ref-counting
  • sleep: Asynchronous (non-blocking) sleep op using AsyncOpKernel