- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for output_node (0.14 sec)
-
tensorflow/cc/saved_model/saved_model_bundle_lite_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 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc
return absl::OkStatus(); } Status ParseOutputArrayInfo(const std::vector<string>& output_names, std::vector<string>* outputs) { for (auto& output_name : output_names) { if (output_name.empty()) continue; outputs->push_back(output_name); } return absl::OkStatus(); } Status ParseInputArrayInfo(absl::string_view array_names, absl::string_view data_types,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0) -
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/c/eager/parallel_device/parallel_device_test.cc
TF_Operation* reduce_op = TF_FinishOperation(reduce_desc, status); if (TF_GetCode(status) != TF_OK) return; TF_Operation* operations[]{placeholder_op, reduce_op}; TF_Output y{reduce_op, 0}; const char* output_name = "y"; std::unique_ptr<TF_Function, decltype(&TF_DeleteFunction)> function( TF_GraphToFunction( /* fn_body */ body.get(), /* fn_name */ function_name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 08 23:47:35 UTC 2021 - 29.3K 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)