-
### 🐛 Describe the bug
```python
import torch
from torch.nn.attention.flex_attention import create_block_mask, flex_attention
torch.set_default_device("cuda")
@torch.compile(dynamic=True)
de…
-
### Describe the bug
Given this self-contained code snippet:
```scala
class Foo {
def Bar: Double = 2.0
def Baz: Double = 1.0
}
object Bar {
def higherOrder1(f: Foo => Double): N…
-
Hello next pepoles :)
### Verify canary release
- [X] I verified that the issue exists in the latest Next.js canary release
### Provide environment information
```raw
Operating Sy…
-
The documentation for array functions that take a higher order function argument read as:
```
arrayExists([func,] arr1, …)
Returns 1 if there is at least one element in arr for which func(arr1[i]…
-
Loose Haskell lambdas that the user writes are invisible to the tracing done in this library, but the moment the user tries to store a function inside an array, their code will be rejected. A question…
-
I have these definitions:
```
{-@ type Value = Nat @-}
type Value = Int
{-@ type Multiset = Value -> Nat @-}
type Multiset = Value -> Int
{-@ reflect m_empty @-}
m_empty :: Multiset
m_empt…
-
Herbie: 9287265 Odyssey: 8da4444
```fpcore
(FPCore (x y)
:name "Logistic function from Lakshay Garg"
(- (/ 2 (+ 1 (exp (* -2 x)))) 1))
```
```
Computing Job cost started:
b0221573225203…
-
We should provide tools to handle the various timing related tasks. We have some fixed patterns throughout the code base, but it'd be nice to handle those a step up.
-
After going through #16; I got into confusion with Higher-Order Functions.
Are Pure Functions and Higher-Order alike? Or they differ?
And Higher-order Components are created by Higher-order func…
-
#### Title of the talk
Exploring high order functions and Decorators
#### Description
*Rough Description: Exploring the world of High Order Functions in the land of Python. Lear…