- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for EXPECTED (0.15 sec)
-
tensorflow/c/eager/c_api_unified_experimental.h
// an operation, or provided to create a function. // When executing an operation in an eager context, the expected number of // outputs must be set beforehand with `TF_OutputListSetNumOutputs`. typedef struct TF_OutputList TF_OutputList; TF_OutputList* TF_NewOutputList(); void TF_DeleteOutputList(TF_OutputList* o); // Prepare tracing to the expected number of output for an operation.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
TensorHandlePtr Multiply(TFE_Context* context, TFE_TensorHandle* first, TFE_TensorHandle* second, TF_Status* status); // Assert that `handle` is equal to `expected_value`. template <typename value_type> void ExpectScalarEq(TFE_TensorHandle* handle, value_type expected_value); template <std::size_t num_devices> void RegisterParallelDevice( TFE_Context* context, const char* device_name,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
absl::optional<std::vector<std::unique_ptr<ParallelTensor>>> Execute( TFE_Context* context, const std::vector<ParallelTensor*>& inputs, const char* operation_name, const TFE_OpAttrs* attributes, int expected_max_outputs, TF_Status* status) const; // A non-blocking version of `Execute`. After each call, `Join` must be called // before `StartExecute` is called again. Using `StartExecute` with `Join`
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// the device is not usable. In case of a bad status, `device.delete_device` is // still called on `device_info` (i.e. the caller does not retain ownership). // // This API is highly experimental, and in particular is expected to change when // it starts supporting operations with attributes and when tf.function support // is added. TF_CAPI_EXPORT extern void TFE_RegisterCustomDevice(TFE_Context* ctx,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue20266/issue20266.h
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #define issue20266 20266 #ifndef def20266 #error "expected def20266 to be defined"
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 251 bytes - Viewed (0) -
tensorflow/c/c_api.h
int max_values, TF_Status* status); // Gets the TF_Tensor valued attribute of `attr_name` of `oper`. // // Allocates a new TF_Tensor which the caller is expected to take // ownership of (and can deallocate using TF_DeleteTensor). TF_CAPI_EXPORT extern void TF_OperationGetAttrTensor(TF_Operation* oper, const char* attr_name,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/c_api_macros_internal.h
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 13 17:40:56 GMT 2023 - 2.5K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
break; } } if (!found) { return errors::Internal( "Internal state of the gradient tape is invalid: " "none of operations outputs match expected tensor"); } } else { // This target tensor was not generated by any operation recorded on // the tape, so no gradient needs to be computed from it unless this
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/eager/c_api_unified_experimental_internal.h
#include "tensorflow/core/platform/types.h" namespace tensorflow { // Represents the results of the execution of an operation. struct OutputList { std::vector<AbstractTensorHandle*> outputs; int expected_num_outputs = -1; }; namespace tracing { // ============================================================================= // Implementation detail for the unified execution APIs for Eager and tracing
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Nov 13 22:20:40 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/gradients.h
// inputs and outputs and the gradient function These data structures combined // allow us to trace the data dependencies between operations and hence compute // gradients. // // `ZerosLike` is not expected to be called and returns a nullptr. The creation // of default zeros grads is handled by the `DefaultGradientFunction` registered // for each op. // TODO(srbs): We need to define `ZerosLike` here to keep the compiler happy.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 10:27:05 GMT 2022 - 6.9K bytes - Viewed (0)