- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for tfr_raw_text (0.13 sec)
-
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
} std::string tfr_raw_text; for (const auto& file : files) { string fullpath = io::JoinPath(composite_mlir_dir, file); if (env->MatchPath(fullpath, io::JoinPath(composite_mlir_dir, "*.mlir"))) { std::string text; TF_RETURN_IF_ERROR(ReadFileToString(env, fullpath, &text)); tfr_raw_text.append(text); } }
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_test.cc
.Output("z: T") .Attr( "T: {bfloat16, half, float, double, uint8, int8, int16, int32, int64, " "complex64, complex128, string}") .SetShapeFn(shape_inference::UnchangedShape); constexpr char tfr_raw_text[] = R"( tfr.func @tf__my_add_n(%values: !tfr.tensor_list, %n: i64 {tfr.name="N"}) -> !tfr.tensor { %index = arith.constant 0 : index %cst = arith.constant 1 : i64
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 5.8K 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 // FunctionDef.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 11:12:54 UTC 2024 - 3.2K bytes - Viewed (0)