- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 140 for tensor (0.19 sec)
-
tensorflow/c/eager/c_api_unified_experimental.h
TF_AbstractTensor* TF_OutputListGet(TF_OutputList* o, int i); // Append a tensor at the end of the output list, growing its size by one. void TF_OutputListPushBack(TF_OutputList* o, TF_AbstractTensor* tensor, TF_Status*); // TF_ExecuteOperation will, if in eager mode, execute, if in graph mode, maybe // capture some inputs and then add a node in the graph. The output tensors are // returned through the provided TF_OutputList.
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/checkpoint_reader.cc
if (reader_ != nullptr) return reader_->DebugString(); return v2_reader_->DebugString(); } void CheckpointReader::GetTensor( const string& name, std::unique_ptr<tensorflow::Tensor>* out_tensor, TF_Status* out_status) const { absl::Status status; if (reader_ != nullptr) { status = reader_->GetTensor(name, out_tensor); } else { tensorflow::DataType dtype;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/c/c_api.h
// that defines two inputs, "concat_dim" and "values" (in that order). // You must use TF_AddInput() for the first input (since it takes a // single tensor), and TF_AddInputList() for the second input (since // it takes a list, even if you were to pass a list with a single // tensor), as in: // TF_OperationDescription* desc = TF_NewOperation(graph, "Concat", "c"); // TF_Output concat_dim_input = {...};
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.cc
", dtype=", DataType_Name(DataType()), ", type=", FullType().DebugString(), ")"); } absl::Status AbstractTensorHandle::TensorHandleStatus() const { // Tensor handles in current runtime don't carry error info and this method // should always return OK status. return absl::OkStatus(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_internal.h
} }; // An abstract operation describes an operation by its type, name, and // attributes. It can be "executed" by the context with some input tensors. // It is allowed to reusing the same abstract operation for multiple execution // on a given context, with the same or different input tensors. class TracingOperation : public AbstractOperation { protected: explicit TracingOperation(AbstractOperationKind kind)
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_eager.cc
TF_Status* s) { auto handle = dyn_cast<ImmediateExecutionTensorHandle>(unwrap(at)); if (!handle) { string msg = StrCat("Not an eager tensor handle.", reinterpret_cast<uintptr_t>(at)); TF_SetStatus(s, TF_INVALID_ARGUMENT, msg.c_str()); return nullptr; } return wrap(handle); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jun 25 04:40:46 UTC 2020 - 3.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
} TF_AbstractTensor* TF_OutputListGet(TF_OutputList* o, int i) { return wrap(unwrap(o)->outputs[i]); } void TF_OutputListPushBack(TF_OutputList* o, TF_AbstractTensor* tensor, TF_Status* s) { unwrap(o)->outputs.push_back(unwrap(tensor)); } void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type, TF_Status* s) { tsl::Set_TF_Status_from_Status(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
virtual ImmediateExecutionContext* GetContext() const = 0; // Following two methods are used to support custom device. // Return true if the inputs contain custom device tensor handle. It means // that the argument need to be handled by a custom device. virtual bool HasCustomDeviceInput() const = 0; virtual const tensorflow::OpDef* OpDef() const = 0;
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/gradients_internal.h
ForwardOperation*); absl::Status SetAttrTensor(AbstractOperation*, const char* attr_name, AbstractTensorInterface* tensor, ForwardOperation*); absl::Status SetAttrStringList(AbstractOperation*, const char* attr_name, const void* const* values, const size_t* lengths,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
op_->node_builder.Attr(attr_name, func_name); return absl::OkStatus(); } absl::Status SetAttrTensor(const char* attr_name, AbstractTensorInterface* tensor) override { return tensorflow::errors::Unimplemented( "SetAttrTensor has not been implemented yet."); } absl::Status SetAttrStringList(const char* attr_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0)