Kernels
kernels-bot commited on
Commit
dc1d40d
·
verified ·
1 Parent(s): c2297e4

Uploaded using `kernel-builder`.

Browse files
Files changed (1) hide show
  1. README.md +25 -0
README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: kernels
3
+ license: apache-2.0
4
+ ---
5
+
6
+ This is the repository card of kernels-community/relu that has been pushed on the Hub. It was built to be used with the [`kernels` library](https://github.com/huggingface/kernels). This card was automatically generated.
7
+
8
+ ## How to use
9
+
10
+ ```python
11
+ # make sure `kernels` is installed: `pip install -U kernels`
12
+ from kernels import get_kernel
13
+
14
+ kernel_module = get_kernel("kernels-community/relu")
15
+ relu = kernel_module.relu
16
+
17
+ relu(...)
18
+ ```
19
+
20
+ ## Available functions
21
+ - `relu`
22
+
23
+ ## Benchmarks
24
+
25
+ Benchmarking script is available for this kernel. Run `kernels benchmark kernels-community/relu`.