- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,398 for TensorT (0.28 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/session_utils.h
llvm::StringRef device_name, const tensorflow::DeviceMgr* mgr); // Returns resource tensors from session for all variables in 'module'. absl::StatusOr<std::vector<tensorflow::Tensor>> GetResourcesFromSession( llvm::ArrayRef<TF::VarHandleOp> var_handle_ops, tensorflow::Session* session); } // namespace tf_saved_model } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
status->status = tensorflow::errors::InvalidArgument( "DLPack doesn't support ", handle->TypeString(), " tensor"); return nullptr; } const tensorflow::Tensor* tensor; status->status = handle->Tensor(&tensor); if (!status->status.ok()) { return nullptr; } return tensor; } // Deleter for DLManagedTensor void DLManagedTensorDeleter(DLManagedTensor* arg) { TfDlManagedTensorCtx* owner =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm_quantized.mlir
...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 15.4K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tpu_device.cc
} return tpu_shape.AsCpp<xla::Shape>(); } // Given a tensor, returns the shape of its representation on device, // fully padded. Contents of `shape` are undefined on error. Status TpuPaddedShapeFn(const Tensor& tensor, xla::Shape* shape) { const tensorflow::XlaTensor* xla_tensor = tensorflow::XlaTensor::FromTensor(&tensor); if (xla_tensor == nullptr) { return errors::InvalidArgument(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 20.9K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference.h
struct InferredShape { // Shape of the argument tensor. PartialTensorShape shape; // If the argument is a resource variable, the type and shape of the // variable's value. DataType handle_type = DT_INVALID; PartialTensorShape handle_shape; }; typedef std::unordered_map<string, std::vector<InferredShape>> GraphShapeInfo; // Infer shapes for all Tensors in a graph, and save them in a map. The vector
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
for (int component_index = 0; component_index < tensors_.size(); ++component_index) { // TODO(allenl): Add a C API for summarizing tensors. Currently custom // devices limiting themselves to a C API (for ABI compatibility) would need // to implement summarization for component tensors themselves. ImmediateExecutionTensorHandle* component = tensorflow::unwrap(tensors_[component_index].get());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 07:47:20 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); const char* tensor_data[] = {&tensor1[0], &tensor2[0]}; const size_t tensor_size[] = {TF_ARRAYSIZE(tensor1), TF_ARRAYSIZE(tensor2)}; const int64_t* tensor_dims[] = {&dims1[0], &dims2[0]}; const size_t tensor_ndims[] = {ndims1, ndims2}; for (int i = 0; i < 2; ++i) { TF_Tensor* v = values[i];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
tensorflow/compiler/jit/get_compiler_ir.cc
std::vector<const Tensor*> inputs(input_arg_size); std::deque<Tensor> inputs_storage; std::vector<VariableInfo> variable_infos; int offset = input_arg_shape_and_dtype.size(); for (int i = 0; i < input_handles.size(); i++) { const TensorHandle* th = input_handles[i]; const Tensor* t; // Handle owns the tensor. TF_RETURN_IF_ERROR(th->Tensor(&t));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 19K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc
// Prepare function arguments from ready Chain and input Tensors. llvm::SmallVector<tfrt::AsyncValue*> exec_arguments; exec_arguments.reserve(compute->num_arguments()); exec_arguments.push_back(tfrt::GetReadyChain().release()); for (const Tensor& input_tensor : arguments) { auto av = MakeAvailableAsyncValueRef<FallbackTensor>(input_tensor);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td
%replicated_output:2 = "tf.TPUReplicatedOutput(%identity) : (tensor<i32>) -> (tensor<i32>, tensor<i32>) return %replicated_output#0, %replicated_output#1 : tensor<i32>, tensor<i32> } ``` will be transformed into: ```mlir func @tpu_computation(%arg0: tensor<i32>, %arg1: tensor<i32>) -> (tensor<i32>, tensor<i32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 19.8K bytes - Viewed (0)