- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 657 for const2 (0.3 sec)
-
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h
// the values with the TOCO quantizer. TfLiteStatus QuantizeModel( absl::string_view model_buffer, const tflite::TensorType &input_type, const tflite::TensorType &output_type, const tflite::TensorType &inference_type, const std::unordered_set<std::string> &operator_names, bool disable_per_channel, bool fully_quantize, std::string &output_buffer,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_to_string.cc
void Element(size_t i, flatbuffers::ElementaryType /*type*/, const flatbuffers::TypeTable* /*type_table*/, const uint8_t* /*val*/) override { if (i) s += ", "; } }; void ToString(const std::string& serialized_model) { IndentedToStringVisitor visitor(/*delimiter=*/"\n", /*indent=*/" "); IterateFlatBuffer(reinterpret_cast<const uint8_t*>(serialized_model.c_str()),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 15:52:23 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
// TODO(krzysd) Handle function calls StatusOr<Operation*> ConvertOp( const tflite::OperatorT& op, const std::vector<Value>& vals_map, const std::vector<mlir::TensorType>& intermediate_types, Value optional_arg_marker, const std::vector<std::unique_ptr<tflite::OperatorCodeT>>& op_codes, const std::vector<std::string>& func_names, const std::vector<std::unique_ptr<tflite::TensorT>>& tensors, Location loc,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/jit/shape_inference.cc
} Status PropagateShapes(Graph* graph, const std::map<int, InferredShape>& arg_shapes, const std::vector<BackEdgeHelper::BackEdge>& back_edges, ShapeRefiner* shape_refiner) { std::map<const Node*, const Node*> merge_to_next_iteration; for (const auto& e : back_edges) { if (e.src->IsNextIteration() && e.dst->IsMerge()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.cc
absl::Status CalibrationComponent::ExportToSavedModel( ModuleOp module_op, absl::string_view calibration_data_dir, const bool force_regenerate_calibration_data, const absl::string_view dst_saved_model_path) { TF_ASSIGN_OR_RETURN(const std::string checkpoint_dir, GetLocalTmpFileName()); // Clone ModuleOp and function aliases so changes in this pipeline won't
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 9.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc
}; const auto subgraphs = {CreateSubgraphMetadata( fb_builder, fb_builder.CreateVector(ops.begin(), ops.size()))}; const auto metadata = CreateRuntimeMetadata( fb_builder, hardwares, fb_builder.CreateVector(subgraphs.begin(), subgraphs.size())); fb_builder.Finish(metadata); return std::string( reinterpret_cast<const char*>(fb_builder.GetBufferPointer()),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 06:11:34 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc
public: bool IsAlloc() const { return effects_.test(kAlloc); } bool IsFree() const { return effects_.test(kFree); } bool IsRead() const { return effects_.test(kRead); } bool IsWrite() const { return effects_.test(kWrite); } bool IsAllocOnly() const { return IsAlloc() && effects_.count() == 1; } bool IsReadOnly() const { return IsRead() && effects_.count() == 1; } ResourceId GetResourceId() const { return resource_id_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 41.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc
static const char kMlirWithFallbackModeSuccess[] = "kMlirWithFallbackModeSuccess"; static const char kMlirWithFallbackModeFailure[] = "kMlirWithFallbackModeFailure"; static const char kOldBridgeMlirFilteredFailure[] = "kOldBridgeMlirFilteredFailure"; static const char kOldBridgeWithFallbackModeFailure[] = "kOldBridgeWithFallbackModeFailure"; static const char kOldBridgeMlirFilteredSuccess[] =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 23:59:33 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/flatbuffer_compatibility_test.cc
fprintf(stderr, "Read '%s' resulted in empty\n", name); return false; } *buf = s; return true; } bool ParseFile(flatbuffers::Parser *parser, const std::string &filename, const std::string &contents) { std::vector<const char *> include_directories; auto local_include_directory = flatbuffers::StripFileName(filename); include_directories.push_back(local_include_directory.c_str());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 14:28:27 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir
(tensor<i32>, !mlrt.promise) -> !mlrt.async_handle // CHECK: [[const:%.*]] = tf_mlrt.const %const = "tf.Const"() {__op_key = 1: i32, value = dense<2> : tensor<i32>} : () -> tensor<i32> // CHECK: [[b:%.*]] = tf_mlrt.await [[futures]] %b = "tf_mlrt.tf_await"(%future_b) : (!mlrt.future) ->tensor<i32> // CHECK: [[result:%.*]] = tf_mlrt.executeop([[b]], [[const]]) // CHECK-SAME: AddV2
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 24.7K bytes - Viewed (0)