Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions facto/specdb/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -5084,6 +5084,30 @@
OutArg(ArgType.Tensor),
],
),
Spec(
op="special_zeta.default", # (Tensor self, Tensor other) -> Tensor
inspec=[
InPosArg(
ArgType.Tensor,
name="self",
constraints=[
cp.Dtype.In(lambda deps: [torch.float, torch.double]),
],
),
InPosArg(
ArgType.Tensor,
name="other",
deps=[0],
constraints=[
cp.Dtype.Eq(lambda deps: deps[0].dtype),
cp.Size.In(
lambda deps, r, d: fn.broadcast_with(deps[0].shape, r, d)
),
],
),
],
outspec=[OutArg(ArgType.Tensor)],
),
Spec(
op="t_copy.default", # (Tensor self) -> Tensor
inspec=[
Expand Down
Loading