- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_MLIR_TFR_LIB_DIR (0.31 sec)
-
tensorflow/compiler/mlir/tfr/examples/customization/test_ops_test.py
def test_test_ops(self): attr = tf.function(test_ops.test_attr)(tf.float32) self.assertAllClose(attr.numpy(), 100.0) if __name__ == '__main__': os.environ['TF_MLIR_TFR_LIB_DIR'] = ( 'tensorflow/compiler/mlir/tfr/examples/customization')
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 17 22:41:04 UTC 2023 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
#include "tensorflow/core/platform/stringpiece.h" #include "tensorflow/core/util/env_var.h" #include "tsl/platform/statusor.h" namespace tensorflow { namespace tfr { const char* const kTFRLibEnv = "TF_MLIR_TFR_LIB_DIR"; absl::StatusOr<std::unique_ptr<TFRDecomposeContext>> TFRDecomposeContext::Get( mlir::MLIRContext* mlir_ctx) { Env* env = Env::Default(); std::string tfr_lib_dir; TF_RETURN_IF_ERROR(ReadStringFromEnvVar(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0)