- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,170 for const1 (0.14 sec)
-
tensorflow/compiler/mlir/python/mlir.cc
tsl::Set_TF_Status_from_Status(status, diagnostic_handler.ConsumeStatus()); } } void ExperimentalTFLiteToTosaBytecode( const std::string& flatbuffer_file, const std::string& tosa_bytecode_file, bool use_external_constant, const std::vector<std::string>& ordered_input_arrays, const std::vector<std::string>& ordered_output_arrays, TF_Status* status) { mlir::DialectRegistry registry;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc
&graph_def)); // Restore op's name should start with "restore_op" and the save op's name // should start with "tf_quant__save_op". const std::vector<std::string> control_ret_node_names = { "restore_op_0", "tf_quant__save_op_0"}; TF_ASSERT_OK_AND_ASSIGN(const std::optional<SaverDef> saver_def, CreateSaverDef(control_ret_node_names, graph_def)); ASSERT_NE(saver_def, std::nullopt);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 19.6K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad.cc
GradientFunction* SqrtRegisterer(const ForwardOperation& op) { return new SqrtGradientFunction(op.outputs[0]); } GradientFunction* NegRegisterer(const ForwardOperation& op) { return new NegGradientFunction; } GradientFunction* SubRegisterer(const ForwardOperation& op) { return new SubGradientFunction; } GradientFunction* MulRegisterer(const ForwardOperation& op) { return new MulGradientFunction(op.inputs); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 15.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) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
static bool FullMatch(const char* str, const RE& re); static bool PartialMatch(const char* str, const RE& re); private: void Init(const char* regex); // We use a const char* instead of an std::string, as Google Test used to be // used where std::string is not available. TODO(******@****.***): change to // std::string. const char* pattern_; bool is_valid_; #if GTEST_USES_POSIX_RE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 67.2K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass_test.cc
} Status MakeXlaCompiledKernel(Graph* graph, const string& callee_name, const string& node_name, Node** result) { return MakeXlaCompiledKernel(graph, callee_name, node_name, /*num_constant_args=*/0, /*num_resource_args=*/0, result); } Node* MakeWrite(const Scope& scope, Output value_to_write, const string& id) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_restore_pruning.mlir
// CHECK-LABEL: func.func @prune_unused_restore func.func @prune_unused_restore() { %cst = "tf.Const"() <{value = dense<"restore_ariables"> : tensor<!tf_type.string>}> : () -> tensor<!tf_type.string> %cst_0 = "tf.Const"() <{value = dense<""> : tensor<1x!tf_type.string>}> : () -> tensor<1x!tf_type.string> %cst_1 = "tf.Const"() <{value = dense<"y"> : tensor<1x!tf_type.string>}> : () -> tensor<1x!tf_type.string> // CHECK-NOT: tf.RestoreV2
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 22:02:06 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/static_range_ptq.cc
// TODO: b/317167427 - Enable debugger. absl::Status QuantizeStaticRangePtq( const absl::string_view src_saved_model_path, const absl::string_view dst_saved_model_path, const QuantizationConfig& quantization_config, const std::vector<std::string>& signature_keys, const absl::flat_hash_map<std::string, SignatureDef>& signature_def_map, const PyFunctionLibrary& py_function_library) { std::unordered_set<std::string> tags;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.h
// This will also run relevant passes as well. Status ConvertMLIRToTFLiteFlatBuffer( const toco::ModelFlags& model_flags, toco::TocoFlags& toco_flags, mlir::OwningOpRef<mlir::ModuleOp> module, const mlir::TFL::PassConfig& pass_config, const std::unordered_set<std::string>& saved_model_tags, string* result, SavedModelBundle* saved_model_bundle, const quantization::PyFunctionLibrary* quantization_py_function_lib);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 3.2K 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)