- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,123 for tftensor (0.14 sec)
-
tensorflow/c/eager/c_api_experimental.h
TF_Status* status); // Allocate and return a new Tensor on the host. // // The caller must set the Tensor values by writing them to the pointer returned // by TF_TensorData with length TF_TensorByteSize. TF_CAPI_EXPORT extern TF_Tensor* TFE_AllocateHostTensor(TFE_Context* ctx, TF_DataType dtype,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 39.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.h
}; // The MLIR type represents a tensorflow::Tensor. class TFTensorType : public mlir::Type::TypeBase<TFTensorType, mlir::Type, mlir::TypeStorage> { public: using Base::Base; static constexpr mlir::StringLiteral name = "tensorflow.tf_mlrt.tf_tensor"; }; // The MLIR type represents a tensorflow::Device* class TFDeviceType
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 07:17:01 UTC 2023 - 2.4K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
} void Run(const std::vector<TF_Output>& run_outputs, std::initializer_list<int> input_values) { DCHECK_EQ(inputs_.size(), input_values.size()); std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs(inputs_.size()); int i = 0; for (int v : input_values) { inputs[i] = {inputs_[i].oper, Int32Tensor(v)}; ++i; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_lite_test.cc
for (float x : {0, 1, 2, 3}) { serialized_examples.push_back(MakeSerializedExample(x)); } // Validate the half plus two behavior. Tensor input = test::AsTensor<tstring>(serialized_examples, TensorShape({4})); std::vector<Tensor> outputs; TF_ASSERT_OK(bundle.GetSession()->Run({{input_name, input}}, {output_name}, {}, &outputs));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 9.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
TF_Status* status) const; // Construct a parallel tensor consisting of the scalar values from `values`. template <typename DataType> std::unique_ptr<ParallelTensor> ScalarsFromSequence( absl::Span<const DataType> values, TFE_Context* context, TF_Status* status) const;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 25 15:21:13 UTC 2023 - 12.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir
// Inference with non-broadcastable shape
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 59.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.td
); TF_DerivedOperandTypeListAttr Tin = TF_DerivedOperandTypeListAttr<0>; } def TF_DumpTensorOp : TF_Op<"DumpTensor", []> { let summary = "Dump tensor proto."; let arguments = (ins Arg<TF_Tensor>:$input, StrAttr:$log_dir_path, StrAttr:$file_name, BoolAttr:$enabled, StrAttr:$func_name, StrAttr:$node_name );
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc
return mlir::TypeAttr::get(type); } case AttrValue::kShape: return ConvertTensorShapeProto(value.shape(), builder->getContext()); case AttrValue::kTensor: return ConvertTensorProto(value.tensor(), builder); case AttrValue::kList: { absl::InlinedVector<mlir::Attribute, 8> attrs; for (const auto& item : value.list().i()) attrs.push_back(builder->getI64IntegerAttr(item));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir
%5:2 = "tf.C"(%4) : (tensor<2xi32>) -> (tensor<2xi32>, tensor<2xi32>) tf_device.return %5#0, %5#1 : tensor<2xi32>, tensor<2xi32> }) {num_cores_per_replica = 1, topology = "", device_assignment = []} : () -> (tensor<2xi32>, tensor<2xi32>) tf_device.return %2#1 : tensor<2xi32> } func.return %1 : tensor<2xi32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 129.6K bytes - Viewed (0) -
tensorflow/c/kernels/merge_summary_op.cc
namespace { // Operators used to create a std::unique_ptr for TF_Tensor and TF_Status struct TFTensorDeleter { void operator()(TF_Tensor* tf_tensor) const { TF_DeleteTensor(tf_tensor); } }; struct TFStatusDeleter { void operator()(TF_Status* tf_status) const { TF_DeleteStatus(tf_status); } }; // Struct that wraps TF_Tensor and TF_Status to delete once out of scope
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 31 03:28:11 UTC 2021 - 4.7K bytes - Viewed (0)