You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* separating out things
* Add trace op
* clean up
* format
* rename
* improve op
* improve test
* Force logpdf func
* verify logpdf
* save
* simulate op
* suppress
* fix
* condOp
* Bayesian linear regression test
* Refactor stuff to use probprogutils
* scf test (not working)
* remove logpdf
* direct pp model call
* fix build
* fix up
* merge
* simple generate test
* remove call test
* undo merge hack
* clean up and fix roundtrip test
* format
* Passing symbol ptr to sample ops too. Adding simulate op
* change to anytype
* asm format for initTrace
* fix name
* asm format for addSampleToTraceOp
* type preserving hacks
* Refactor: making pointers ui64 attributes, updating tests
* remove initTraceOp
* traced_output_indices attr to specify which output to trace
* Real generate op without recusive support
* simplify
* encoding constraints as a custom attribute
* simplify attr
* add checks
* postpasses
* bug fix for aliasing outputs
* more tests
* untraced call
* add trace type
* refactored simulate op simple case
* simulate op should return weights too
* greedy rewrite simulate ops
* bug fix
* update tests
* symbol attr to addsubtrace op
* no dump
* return updated traces to enforce data dependences
* add weights and return values to trace too
* adding traced_output_indices attr to simulate op
* rearrange op defs; adding new generate op with trace operand
* WIP generate op
* WIP generate op
* account for new constraint argument
* refactored generate op & simple test
* fix gsfcop result indices
* test following calling convention
* enforcing probprog calling convention (rng state being the 0th input/output operand)
* cleanup obsolete tests
* format
* dont print
* improve
* clean up
* minor: get rid of initConstraint op
* generate op fixup: constrained_symbols --> constrained_addresses
* fix build
let summary = "Prevents the flow of gradients (and higher-order derivatives) by creating a new value that is detached from the original value. This is an identity operation on the primal.";
let summary = "Sample from a distribution. Arguments to the distribution are: a random number generator object, followed by arguments to the sample op itself";
260
-
let arguments = (ins FlatSymbolRefAttr:$fn, Variadic<AnyType>:$inputs, DefaultValuedStrAttr<StrAttr, "">:$name);
301
+
let summary = "Sample from a distribution";
302
+
let description = [{
303
+
Sample from a distribution. By convention, the 0th operand in `inputs`
let summary = "Prevents the flow of gradients (and higher-order derivatives) by creating a new value that is detached from the original value. This is an identity operation on the primal.";
271
-
let arguments = (ins AnyType:$input);
272
-
let results = (outs AnyType:$output);
322
+
def UntracedCallOp : Enzyme_Op<"untracedCall"> {
323
+
let summary = "Call a probabilistic function without tracing";
324
+
let description = [{
325
+
Call a probabilistic function without tracing. By convention, the 0th operand in `inputs`
0 commit comments