Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mutable_fdef (0.23 sec)

  1. tensorflow/c/c_api_function.cc

        status->status = InvalidArgument(
            "Unparseable AttrValue proto passed to "
            "TF_FunctionSetAttrValueProto");
        return;
      }
    
      auto fdef_or = func->record->mutable_fdef();
      if (!fdef_or.ok()) {
        status->status = fdef_or.status();
        return;
      }
    
      (*(fdef_or.value()->mutable_attr()))[string(attr_name)] = attr_value;
    
      status->status = absl::OkStatus();
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  2. tensorflow/c/eager/c_api.cc

    }
    
    void TFE_ContextAddFunction(TFE_Context* ctx, TF_Function* function,
                                TF_Status* status) {
      auto fdef_or = function->record->mutable_fdef();
      if (!fdef_or.ok()) {
        status->status = fdef_or.status();
        return;
      }
    
      AnnotateEagerRuntimeConstructionContext(*fdef_or.value());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top