- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 49 for ifdef (0.25 seconds)
-
tensorflow/c/c_api_function_test.cc
tensorflow::FunctionDef fdef; ASSERT_TRUE(GetFunctionDef(func_, &fdef)); VerifyFDefNodes(fdef, nodes); VerifyFDefInputs(fdef, inputs); VerifyFDefOutputs(fdef, outputs); VerifyFDefEdges(fdef, e_edges, c_edges, is_exact_edges); } // Serialize func_ to fdef and import it back void Reincarnate() { // func_ -> fdef tensorflow::FunctionDef fdef;Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 63.9K bytes - Click Count (1) -
tensorflow/c/c_api_function.cc
TF_Status* status) { status->status = MessageToBuffer(func->record->fdef(), output_func_def); } TF_Function* TF_FunctionImportFunctionDef(const void* proto, size_t proto_len, TF_Status* status) { tensorflow::FunctionDef fdef; bool success = fdef.ParseFromArray(proto, proto_len); if (!success) { status->status = InvalidArgument(Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 16:27:48 GMT 2024 - 13.7K bytes - Click Count (0) -
tensorflow/c/eager/graph_function.cc
namespace tensorflow { namespace tracing { namespace graph { GraphFunction::GraphFunction(FunctionDef fdef) : AbstractFunction(kGraph), func_record_(new FunctionRecord(std::move(fdef), {}, true)) {} GraphFunction::~GraphFunction() {} absl::Status GraphFunction::GetFunctionDef(const FunctionDef **fdef) { *fdef = &(func_record_->fdef()); return absl::OkStatus(); } } // namespace graph } // namespace tracingCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 1.3K bytes - Click Count (0) -
tensorflow/c/conversion_macros.h
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_CONVERSION_MACROS_H_ #define TENSORFLOW_C_CONVERSION_MACROS_H_ #define DEFINE_CONVERSION_FUNCTIONS(cpp_impl, wrapper) \
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon May 04 16:24:03 GMT 2020 - 1.7K bytes - Click Count (0) -
tensorflow/c/eager/custom_device_testutil.h
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_ #define TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_ // A simple logging device to test custom device registration. #include <memory> #include "tensorflow/c/c_api.h"
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 1.6K bytes - Click Count (0) -
tensorflow/c/c_op_requires.h
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_C_OP_REQUIRES_H_ #define TENSORFLOW_C_C_OP_REQUIRES_H_ #include "tensorflow/core/platform/macros.h" namespace tensorflow { // Convenience macros for asserting and handling exceptional conditions, forCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Aug 02 21:35:06 GMT 2022 - 2.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api_internal.h
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_C_API_INTERNAL_H_ #define TENSORFLOW_C_EAGER_C_API_INTERNAL_H_ #include "tensorflow/c/c_api_internal.h" #include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_experimental.h"
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 18 19:26:34 GMT 2023 - 1.9K bytes - Click Count (0) -
tensorflow/c/eager/dlpack.h
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_DLPACK_H_ #define TENSORFLOW_C_EAGER_DLPACK_H_ #include "tensorflow/c/eager/c_api.h" namespace tensorflow { // PyCapsule name for DLPack TensorCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Mar 13 23:41:52 GMT 2025 - 1.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_remote_test_util.h
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_ #define TENSORFLOW_C_EAGER_C_API_REMOTE_TEST_UTIL_H_ // Run a function containing a MatMul op and check its output.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 1.4K bytes - Click Count (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_DISTRIBUTED_MANAGER_H_ #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_DISTRIBUTED_MANAGER_H_ #include <cstdint> #include <string> #include "tensorflow/core/platform/status.h"
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 2.9K bytes - Click Count (0)