- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for Input (3.17 sec)
-
.github/ISSUE_TEMPLATE/tflite-other.md
false - type: input id: Mobile attributes: label: Mobile device description: placeholder: e.g., Linux Ubuntu 16.04 validations: required: false - type: input id: Python attributes: label: Python version description: placeholder: e.g., 3.9 validations: required: false - type: input id: Bazel attributes: label: Bazel version description: if
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Dec 29 22:28:29 GMT 2022 - 3.4K bytes - Viewed (1) -
tensorflow/c/eager/unified_api_testutil.h
TF_ExecutionContextGetTFEContext(wrap(ctx), status.get()); TF_RETURN_IF_ERROR(StatusFromTF_Status(status.get())); TFE_TensorHandle* input_eager = TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims); *tensor = unwrap(TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get())); return absl::OkStatus(); } // Return a scalar tensor handle with given value.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
// Build an abstract input tensor. TFE_Context* eager_ctx = TF_ExecutionContextGetTFEContext(eager_execution_ctx, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); TFE_TensorHandle* input_eager = TestScalarTensorHandle(eager_ctx, 2.0f); TF_AbstractTensor* input_t = TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
input.flat<tstring>()(i) = example.SerializeAsString(); } const tensorflow::string input_op_name( tensorflow::ParseTensorName(input_name).first); TF_Operation* input_op = TF_GraphOperationByName(graph, input_op_name.c_str()); ASSERT_TRUE(input_op != nullptr); Status status; csession.SetInputs({{input_op, TF_TensorFromTensor(input, &status)}});
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api_test.cc
CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); for (int input_index = 0; input_index < num_inputs; ++input_index) { TFE_TensorHandle* input = TFE_OpGetFlatInput(other, input_index, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_OpAddInput(ret, input, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); } TF_DeleteStatus(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/c_api.cc
void TF_AddInput(TF_OperationDescription* desc, TF_Output input) { desc->node_builder.Input(&input.oper->node, input.index); } void TF_AddInputList(TF_OperationDescription* desc, const TF_Output* inputs, int num_inputs) { std::vector<NodeBuilder::NodeOut> input_list; input_list.reserve(num_inputs); for (int i = 0; i < num_inputs; ++i) { input_list.emplace_back(&inputs[i].oper->node, inputs[i].index);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_test.c
// A compute function. This will never actually get called in this test, it's // just nice to know that it compiles. void compute(void* kernel, TF_OpKernelContext* ctx) { TF_Tensor* input; TF_Status* s = TF_NewStatus(); TF_GetInput(ctx, 0, &input, s); TF_DeleteTensor(input); TF_DeleteStatus(s); } // Exercises tensorflow's C API. int main(int argc, char** argv) { TF_InitMain(argv[0], &argc, &argv);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
return false; } } } return found_t && found_n; } bool IsNeg(const tensorflow::NodeDef& node_def, const string& input) { return node_def.op() == "Neg" && node_def.name() == "neg" && node_def.input_size() == 1 && node_def.input(0) == input; } bool GetGraphDef(TF_Graph* graph, tensorflow::GraphDef* graph_def) { TF_Status* s = TF_NewStatus(); TF_Buffer* buffer = TF_NewBuffer();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/c_api_experimental_test.cc
const std::vector<TF_Tensor*>& input_tensors, const absl::optional<std::vector<int64_t>>& expected_shape) { // Create input_shapes. TF_ShapeAndTypeList* input_shapes = TF_NewShapeAndTypeList(input_shapes_vec.size()); for (size_t i = 0; i < input_shapes_vec.size(); ++i) { const auto& input_shape = input_shapes_vec[i];
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1) -
tensorflow/c/experimental/gradients/math_grad.cc
namespace gradients { namespace { static Status SafeConj(AbstractContext* ctx, AbstractTensorHandle* const input, AbstractTensorHandle** output, const char* name) { auto dtype = input->DataType(); if (DataTypeIsFloating(BaseType(dtype)) || DataTypeIsInteger(BaseType(dtype))) { return tensorflow::ops::Identity(ctx, input, output, name); } else if (!DataTypeIsComplex(BaseType(dtype)) &&
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 15.2K bytes - Viewed (0)