- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 463 for int64_t (0.07 sec)
-
tensorflow/c/eager/gradients.h
// gradient registerer to instantiate a GradientFunction. struct ForwardOperation { public: string op_name; std::vector<AbstractTensorHandle*> inputs; std::vector<AbstractTensorHandle*> outputs; std::vector<int64_t> skip_input_indices; AttrBuilder attrs; }; using GradientFunctionFactory = std::function<GradientFunction*(const ForwardOperation& op)>; // Map from op name to a `GradientFunctionFactory`.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 6.9K bytes - Viewed (0) -
tensorflow/c/eager/abstract_op_attrs.h
// Returns the AbstractFunction as a FunctionDef. virtual void GetNameAttrList( tensorflow::NameAttrList* name_and_attrs) const = 0; virtual bool GetInt(absl::string_view, int64_t* result) const = 0; virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0; virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); const std::vector<std::unique_ptr<ParallelTensor>>& handles = *outputs; const std::vector<int64_t>* shape; absl::Status s = handles[0]->Shape(&shape); ASSERT_TRUE(s.ok()); EXPECT_EQ(0, shape->size()); } TEST(PARALLEL_DEVICE_LIB, TestCancelOnError) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
CancellationManager* cancellation_manager) = 0; // Returns the stack trace set by `SetStackTrace` if exists. virtual absl::optional<ManagedStackTrace> GetStackTrace() = 0; virtual void SetStepId(int64_t step_id) = 0; // For LLVM style RTTI. static bool classof(const AbstractOperation* ptr) { return ptr->getKind() == kEager || ptr->getKind() == kTfrt; } protected:
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
// `keep_alive_secs` of inactivity. virtual absl::Status SetOrUpdateServerDef( const ServerDef& server_def, bool reset_context, int keep_alive_secs, int64_t init_timeout_in_ms, int retries, bool clear_existing_contexts = false) = 0; // Initializes context for the local worker and no contexts will be created
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.cc
const std::vector<int64_t>* shape; absl::Status s = reinterpret_cast<ParallelTensor*>(data)->Shape(&shape); if (!s.ok()) { tsl::Set_TF_Status_from_Status(status, s); return -1; } return shape->size(); } // Used as an argument to TFE_NewCustomDeviceTensorHandle, for computing a // dimension of a parallel tensor.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 18.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
/* Want to test simple MatMul example: [[0,0], * [[0,0], = [[0,0], [0,0]] [0,0]] [0,0]] */ // Build an abstract input tensor. int64_t dims[] = {2, 2}; // Matrices will be 2 x 2 int num_dims = sizeof(dims) / sizeof(dims[0]); float vals[] = {0.0f, 0.0f, 0.0f, 0.0f}; TFE_Context* eager_ctx = TF_ExecutionContextGetTFEContext(ctx, status.get());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
void TF_DeleteExecutionContext(TF_ExecutionContext*); // Represents a (partially-defined) shape. typedef struct TF_Shape { int num_dims; // Must be >= -1; -1 represents unknown rank. int64_t* dim_sizes; } TF_Shape; // Add a new parameter to a TensorFlow Function. TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func, TF_DataType dtype, TF_Shape shape,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sun Oct 24 11:27:00 UTC 2021 - 7K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output, int num_shapes_and_types, const int64_t** shapes, const int* ranks, const TF_DataType* types, TF_Status* status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat May 13 00:49:12 UTC 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
}; struct LoggedTensor { TFE_TensorHandle* tensor; LoggedTensor() = delete; explicit LoggedTensor(TFE_TensorHandle* tensor) : tensor(tensor) {} ~LoggedTensor() { TFE_DeleteTensorHandle(tensor); } }; int64_t LoggedTensorDim(void* data, int dim_index, TF_Status* status) { return TFE_TensorHandleDim(reinterpret_cast<LoggedTensor*>(data)->tensor, dim_index, status); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Mar 03 20:47:31 UTC 2021 - 8.3K bytes - Viewed (0)