Skip to content

matmul in TF2 #9

@cheers00

Description

@cheers00

Hi, how do you modify your matmul.py to TF2?
https://github.com/yaroslavvb/stuff/blob/master/matmul_benchmark.py

I tried and replaced opt_level=tf.OptimizerOptions.L0 with the following
tf.compat.v1.OptimizerOptions(opt_level=-1)

but there is huge variation from run to run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions