- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for StatusOrOptional (0.11 sec)
-
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc
// (e.g. TryToGetTensorFromConstOp was passed a non-Const node). // // - A T to indicate a successful operation. template <class T> using StatusOrOptional = StatusOr<std::optional<T>>; StatusOrOptional<Tensor> TryToGetTensorFromConstOp(Node* n) { if (n->type_string() != "Const") { return {std::nullopt}; } const TensorProto* proto = nullptr;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 13.8K bytes - Viewed (0)