- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetFromText (0.11 sec)
-
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
tfr_raw_text.append(text); } } auto ctx = TFRDecomposeContext::GetFromText(tfr_raw_text, mlir_ctx); if (!ctx) { return errors::Internal(absl::StrCat( "Failed to load the imported decomposition lib: ", tfr_raw_text)); } return ctx; } std::unique_ptr<TFRDecomposeContext> TFRDecomposeContext::GetFromText( StringPiece tfr_raw_text, mlir::MLIRContext* mlir_ctx) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.h
// Constructs the decompose context from the tfr text module and the mlir // context. The tfr text module is added to the mlir context. static std::unique_ptr<TFRDecomposeContext> GetFromText( StringPiece tfr_raw_text, mlir::MLIRContext* mlir_ctx); // Decomposes the op in the NodeDef to a set of primitive ops according to the // decompose library in the context. Wrap the decomposed result in a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 11:12:54 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx_test.cc
tfr.func @tf__risc_add_dummy_(!tfr.tensor<T>, !tfr.tensor<T>) -> !tfr.tensor<T> attributes{T} )"; class TFRDecomposeContextTest : public Test { protected: void SetUp() override { test_ctx_ = tfr::TFRDecomposeContext::GetFromText(tfr_raw_text, &ctx_); } void TearDown() override { test_ctx_->Destroy(); } mlir::MLIRContext ctx_; std::unique_ptr<tfr::TFRDecomposeContext> test_ctx_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 5.8K bytes - Viewed (0)