- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for myfunc_def (0.14 sec)
-
src/cmd/cgo/internal/test/test.go
// (even though we now use errors exclusively, not warnings). void myfunc(void) {} int myvar = 5; const char *mytext = "abcdef"; typedef int mytype; enum { myenum = 1234, }; #define myfunc_def myfunc #define myvar_def myvar #define mytext_def mytext #define mytype_def mytype #define myenum_def myenum #define myint_def 12345 #define myfloat_def 1.5 #define mystring_def "hello"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc
for (const std::string& func_name : function_library->ReachableDefinitions(graph_def).ListFunctionNames()) { const FunctionDef* func_def = function_library->Find(func_name); std::unique_ptr<FunctionBody> func_body; absl::Status status = FunctionDefToBodyHelper( *func_def, AttrSlice(&func_def->attr()), function_library, &func_body); // This is not expected to happen in practice if (!status.ok()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 12:22:33 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
configs, tf_dialect, symbol_table, func, &flib_def, visited_functions)); auto name = FindFunctionName(configs, func); const FunctionDef* func_def = flib_def.Find(name); if (func_def != nullptr) { *function_def = *func_def; return absl::OkStatus(); } return absl::InvalidArgumentError( absl::StrCat("Function '", name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
configs, tf_dialect, symbol_table, func, &flib_def, visited_functions)); auto name = FindFunctionName(configs, func); const FunctionDef* func_def = flib_def.Find(name); if (func_def != nullptr) { *function_def = *func_def; return absl::OkStatus(); } return absl::InvalidArgumentError( absl::StrCat("Function '", name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
// Run the decompose passes on the module TF_RETURN_IF_ERROR(DecomposeGraph(module)); // Export the result as a FunctionDef. FunctionDef func_def; TF_RETURN_IF_ERROR( ConvertMlirFunctionToFunctionLibraryDef(func, export_confs_, &func_def)); module.erase(); return func_def; } Status TFRDecomposeContext::DecomposeGraph(mlir::ModuleOp user_module) { // Call the decompose passes by using the external symbol table.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/c/c_test_util.h
bool GetGraphDef(TF_Graph* graph, tensorflow::GraphDef* graph_def); bool GetNodeDef(TF_Operation* oper, tensorflow::NodeDef* node_def); bool GetFunctionDef(TF_Function* func, tensorflow::FunctionDef* func_def); bool GetAttrValue(TF_Operation* oper, const char* attr_name, tensorflow::AttrValue* attr_value, TF_Status* s); // Returns a sorted vector of std::pair<function_name, gradient_func> from
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 09 01:06:53 UTC 2018 - 6K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
return ret; } bool GetFunctionDef(TF_Function* func, tensorflow::FunctionDef* func_def) { TF_Status* s = TF_NewStatus(); TF_Buffer* buffer = TF_NewBuffer(); TF_FunctionToFunctionDef(func, buffer, s); bool ret = TF_GetCode(s) == TF_OK; EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); if (ret) ret = func_def->ParseFromArray(buffer->data, buffer->length); TF_DeleteBuffer(buffer); TF_DeleteStatus(s);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass.cc
const string& function_name, const FunctionLibraryDefinition& flib_def) { const FunctionDef* func_def = flib_def.Find(function_name); TF_RET_CHECK(func_def) << "Could not find " << function_name; jit::DeviceSet device_set; for (const NodeDef& ndef : func_def->node_def()) { VLOG(3) << ndef.DebugString(); if (!ndef.device().empty()) { TF_ASSIGN_OR_RETURN(jit::DeviceId device_id,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 24.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
def __init__(self): self._op_defs = {} def lookup(self, f_name, func_def=None, optional=False): if f_name in self._op_defs: return self._op_defs[f_name] if isinstance(func_def, types.FunctionType): if not hasattr(func_def, '_tfr_op_name'): # skip a non-composition function if optional: return (None, None) else:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
specs.unconditionally_use_set_output_shapes = specs_.unconditionally_use_set_output_shapes; for (const auto& name_and_value : func_def->attr()) { if (name_and_value.first == "_input_shapes") { auto& list = name_and_value.second.list(); auto& signature = func_def->signature(); // Some models have "_input_shapes" attribute, but with its value empty if (list.shape_size() > 0 &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)