Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetFunctionLibraryDefinition (0.2 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

      std::shared_ptr<const tensorflow::NodeProperties> props;
      absl::Status status = tensorflow::NodeProperties::CreateFromNodeDef(
          *nodedef_or.value(),
          params_.function_library->GetFunctionLibraryDefinition(), &props);
      if (!status.ok()) {
        return op_->emitRemark()
               << "failed to create NodeProperties: " << status.ToString();
      }
      tensorflow::OpKernel* op_kernel_raw;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. tensorflow/c/kernels.cc

        TF_Status* status) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      auto fdef_lib =
          cc_ctx->function_library()->GetFunctionLibraryDefinition()->ToProto();
      auto cc_status =
          tensorflow::MessageToBuffer(fdef_lib, serialized_function_def_library);
      tensorflow::Set_TF_Status_from_Status(status, cc_status);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top