- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for output_node (0.14 sec)
-
tensorflow/compiler/mlir/lite/python/converter_python_api.cc
FromTocoDataTypeToTflitToTensorType(output_data_type); std::string output_model; const absl::string_view input_model_buffer(buf, length); auto status = mlir::lite::QuantizeModel( input_model_buffer, input_type, output_type, inference_tensor_type, /*operator_names=*/{}, disable_per_channel, fully_quantize, output_model, enable_numeric_verify, enable_whole_model_verify,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
virtual bool HasCustomDeviceInput() const = 0; virtual const tensorflow::OpDef* OpDef() const = 0; virtual Status InputLength(const char* input_name, int* length) = 0; virtual Status OutputLength(const char* output_name, int* length) = 0; // Set stack trace to be used for potential async error reporting. virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0; virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 26 22:40:32 UTC 2022 - 3.6K bytes - Viewed (0) -
tensorflow/cc/saved_model/saved_model_bundle_test.cc
const auto& signature_def = bundle.GetSignatures().at("regress_x_to_y"); const string input_name = signature_def.inputs().at(kRegressInputs).name(); const string output_name = signature_def.outputs().at(kRegressOutputs).name(); std::vector<tstring> serialized_examples; for (float x : {0, 1, 2, 3}) { serialized_examples.push_back(MakeSerializedExample(x)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py
quantization_options = tf.quantization.experimental.QuantizationOptions( signature_keys=['your_signature_key'], ) tf.quantization.experimental.quantize_saved_model( '/tmp/input_model', '/tmp/output_model', quantization_options=quantization_options, ) # When quantizing a model trained without QAT (Post-Training Quantization), # a representative dataset is required.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 34.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TF_Status* status); // Returns the length (number of tensors) of the output argument `output_name` // found in the provided `op`. TF_CAPI_EXPORT extern int TFE_OpGetOutputLength(TFE_Op* op, const char* output_name, TF_Status* status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 22.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
output_buffer_); EXPECT_THAT(status, Eq(kTfLiteOk)); const Model* output_model = GetModel(output_buffer_.data()); ASSERT_TRUE(output_model); } TEST_P(QuantizeConvModelTest, SkipUnspecifiedLayer) { auto status = QuantizeModel(&model_, TensorType_FLOAT32, TensorType_FLOAT32,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py
signature_keys=['serving_default'], representative_datasets=dataset_file_map, ) tf.quantization.experimental.quantize_saved_model( '/tmp/input_model', '/tmp/output_model', quantization_options=quantization_options, ) ``` """ def __init__( self, path_map: Mapping[str, os.PathLike[str]],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 22:55:22 UTC 2024 - 14.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
return ret; } TF_CAPI_EXPORT extern int TFE_OpGetOutputLength(TFE_Op* op, const char* output_name, TF_Status* status) { int ret = -1; status->status = tensorflow::unwrap(op)->OutputLength(output_name, &ret); return ret; } void TFE_Execute(TFE_Op* op, TFE_TensorHandle** retvals, int* num_retvals,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
// Nothing should be compiled. EXPECT_EQ(0, clusters.size()); } TEST(XlaCompilationTest, DeterministicClusterNames) { auto create_graph = [](absl::string_view output_name) -> std::unique_ptr<Graph> { std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); GraphDefBuilder builder(GraphDefBuilder::kFailImmediately); Tensor t(DT_FLOAT, TensorShape());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
const auto signature_def = signature_def_map.at("regress_x_to_y"); const string input_name = signature_def.inputs().at(tensorflow::kRegressInputs).name(); const string output_name = signature_def.outputs().at(tensorflow::kRegressOutputs).name(); // Write {0, 1, 2, 3} as tensorflow::Example inputs. Tensor input(tensorflow::DT_STRING, TensorShape({4}));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0)