# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: tensorboard/compat/proto/function.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'tensorboard/compat/proto/function.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from tensorboard.compat.proto import attr_value_pb2 as tensorboard_dot_compat_dot_proto_dot_attr__value__pb2
from tensorboard.compat.proto import node_def_pb2 as tensorboard_dot_compat_dot_proto_dot_node__def__pb2
from tensorboard.compat.proto import op_def_pb2 as tensorboard_dot_compat_dot_proto_dot_op__def__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'tensorboard/compat/proto/function.proto\x12\x0btensorboard\x1a)tensorboard/compat/proto/attr_value.proto\x1a\'tensorboard/compat/proto/node_def.proto\x1a%tensorboard/compat/proto/op_def.proto\"\xab\x01\n\x12\x46unctionDefLibrary\x12*\n\x08\x66unction\x18\x01 \x03(\x0b\x32\x18.tensorboard.FunctionDef\x12*\n\x08gradient\x18\x02 \x03(\x0b\x32\x18.tensorboard.GradientDef\x12=\n\x14registered_gradients\x18\x03 \x03(\x0b\x32\x1f.tensorboard.RegisteredGradient\"\xcf\x06\n\x0b\x46unctionDef\x12%\n\tsignature\x18\x01 \x01(\x0b\x32\x12.tensorboard.OpDef\x12\x30\n\x04\x61ttr\x18\x05 \x03(\x0b\x32\".tensorboard.FunctionDef.AttrEntry\x12\x37\n\x08\x61rg_attr\x18\x07 \x03(\x0b\x32%.tensorboard.FunctionDef.ArgAttrEntry\x12Q\n\x16resource_arg_unique_id\x18\x08 \x03(\x0b\x32\x31.tensorboard.FunctionDef.ResourceArgUniqueIdEntry\x12&\n\x08node_def\x18\x03 \x03(\x0b\x32\x14.tensorboard.NodeDef\x12.\n\x03ret\x18\x04 \x03(\x0b\x32!.tensorboard.FunctionDef.RetEntry\x12=\n\x0b\x63ontrol_ret\x18\x06 \x03(\x0b\x32(.tensorboard.FunctionDef.ControlRetEntry\x1a\x43\n\tAttrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.tensorboard.AttrValue:\x02\x38\x01\x1a\x8a\x01\n\x08\x41rgAttrs\x12\x39\n\x04\x61ttr\x18\x01 \x03(\x0b\x32+.tensorboard.FunctionDef.ArgAttrs.AttrEntry\x1a\x43\n\tAttrEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.tensorboard.AttrValue:\x02\x38\x01\x1aQ\n\x0c\x41rgAttrEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.tensorboard.FunctionDef.ArgAttrs:\x02\x38\x01\x1a:\n\x18ResourceArgUniqueIdEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\r\n\x05value\x18\x02 \x01(\r:\x02\x38\x01\x1a*\n\x08RetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0f\x43ontrolRetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x02\x10\x03\";\n\x0bGradientDef\x12\x15\n\rfunction_name\x18\x01 \x01(\t\x12\x15\n\rgradient_func\x18\x02 \x01(\t\"G\n\x12RegisteredGradient\x12\x15\n\rgradient_func\x18\x01 \x01(\t\x12\x1a\n\x12registered_op_type\x18\x02 \x01(\tB\x80\x01\n\x18org.tensorflow.frameworkB\x0e\x46unctionProtosP\x01ZOgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/function_go_proto\xf8\x01\x01\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorboard.compat.proto.function_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n\030org.tensorflow.frameworkB\016FunctionProtosP\001ZOgithub.com/tensorflow/tensorflow/tensorflow/go/core/framework/function_go_proto\370\001\001'
  _globals['_FUNCTIONDEF_ATTRENTRY']._loaded_options = None
  _globals['_FUNCTIONDEF_ATTRENTRY']._serialized_options = b'8\001'
  _globals['_FUNCTIONDEF_ARGATTRS_ATTRENTRY']._loaded_options = None
  _globals['_FUNCTIONDEF_ARGATTRS_ATTRENTRY']._serialized_options = b'8\001'
  _globals['_FUNCTIONDEF_ARGATTRENTRY']._loaded_options = None
  _globals['_FUNCTIONDEF_ARGATTRENTRY']._serialized_options = b'8\001'
  _globals['_FUNCTIONDEF_RESOURCEARGUNIQUEIDENTRY']._loaded_options = None
  _globals['_FUNCTIONDEF_RESOURCEARGUNIQUEIDENTRY']._serialized_options = b'8\001'
  _globals['_FUNCTIONDEF_RETENTRY']._loaded_options = None
  _globals['_FUNCTIONDEF_RETENTRY']._serialized_options = b'8\001'
  _globals['_FUNCTIONDEF_CONTROLRETENTRY']._loaded_options = None
  _globals['_FUNCTIONDEF_CONTROLRETENTRY']._serialized_options = b'8\001'
  _globals['_FUNCTIONDEFLIBRARY']._serialized_start=180
  _globals['_FUNCTIONDEFLIBRARY']._serialized_end=351
  _globals['_FUNCTIONDEF']._serialized_start=354
  _globals['_FUNCTIONDEF']._serialized_end=1201
  _globals['_FUNCTIONDEF_ATTRENTRY']._serialized_start=749
  _globals['_FUNCTIONDEF_ATTRENTRY']._serialized_end=816
  _globals['_FUNCTIONDEF_ARGATTRS']._serialized_start=819
  _globals['_FUNCTIONDEF_ARGATTRS']._serialized_end=957
  _globals['_FUNCTIONDEF_ARGATTRS_ATTRENTRY']._serialized_start=749
  _globals['_FUNCTIONDEF_ARGATTRS_ATTRENTRY']._serialized_end=816
  _globals['_FUNCTIONDEF_ARGATTRENTRY']._serialized_start=959
  _globals['_FUNCTIONDEF_ARGATTRENTRY']._serialized_end=1040
  _globals['_FUNCTIONDEF_RESOURCEARGUNIQUEIDENTRY']._serialized_start=1042
  _globals['_FUNCTIONDEF_RESOURCEARGUNIQUEIDENTRY']._serialized_end=1100
  _globals['_FUNCTIONDEF_RETENTRY']._serialized_start=1102
  _globals['_FUNCTIONDEF_RETENTRY']._serialized_end=1144
  _globals['_FUNCTIONDEF_CONTROLRETENTRY']._serialized_start=1146
  _globals['_FUNCTIONDEF_CONTROLRETENTRY']._serialized_end=1195
  _globals['_GRADIENTDEF']._serialized_start=1203
  _globals['_GRADIENTDEF']._serialized_end=1262
  _globals['_REGISTEREDGRADIENT']._serialized_start=1264
  _globals['_REGISTEREDGRADIENT']._serialized_end=1335
# @@protoc_insertion_point(module_scope)
