Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for set_is_stateful (0.11 sec)

  1. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

        auto updated_fdef = std::make_unique<FunctionDef>();
        TF_RETURN_IF_ERROR(
            GraphToFunctionDef(*g, new_func_name, updated_fdef.get()));
        updated_fdef->mutable_signature()->set_is_stateful(true);
        const FunctionDef* original_fdef = fld->Find(func_name);
        if (original_fdef) {
          for (const auto& attr : original_fdef->attr()) {
            (*updated_fdef->mutable_attr())[attr.first] = attr.second;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
Back to top