SetNumThreadsΒΆ

Sets the number of threads used for intraop parallelism.

Abstract Signature:

SetNumThreads(int: int)

PyTorch

API: torch.set_num_threads
Strategy: Direct Mapping

JAX (Core)

API: β€”
Strategy: Custom / Partial

NumPy

API: β€”
Strategy: Custom / Partial

Keras

API: β€”
Strategy: Custom / Partial

TensorFlow

API: tf.config.threading.set_intra_op_parallelism_threads
Strategy: Direct Mapping

Apple MLX

API: β€”
Strategy: Custom / Partial

Flax NNX

API: β€”
Strategy: Custom / Partial

PaxML / Praxis

API: β€”
Strategy: Custom / Partial