- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for ifdef (0.61 seconds)
-
src/cmd/asm/internal/lex/input.go
switch in.Stack.Text() { case "else", "endif", "ifdef", "ifndef", "line": // Press on. default: return false } } switch in.Stack.Text() { case "define": in.define() case "else": in.else_() case "endif": in.endif() case "ifdef": in.ifdef(true) case "ifndef": in.ifdef(false) case "include": in.include() case "line": in.line()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Nov 12 03:59:40 GMT 2025 - 12.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
// TFE_ContextEndStep while ops that rely on the step container may be running. TF_CAPI_EXPORT extern void TFE_ContextEndStep(TFE_Context* ctx); #ifdef __cplusplus } /* end extern "C" */ #endif #ifdef __cplusplus // A workaround to ease conversion to and from numpy objects and // TFE_TensorHandle's. // // TODO(ashankar): Figure out an alternative scheme that precludes the need for
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.h
// Experimental C API for TensorFlow. // // The API here is subject to changes in the future. // -------------------------------------------------------------------------- #ifdef __cplusplus extern "C" { #endif // When `enable` is true, set // tensorflow.ConfigProto.OptimizerOptions.global_jit_level to ON_1, and also // set XLA flag values to prepare for XLA compilation. Otherwise setCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.h
limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_C_API_EXPERIMENTAL_H_ #define TENSORFLOW_C_EAGER_C_API_EXPERIMENTAL_H_ #include "tensorflow/c/c_api.h" #include "tensorflow/c/c_api_macros.h" #include "tensorflow/c/eager/c_api.h" #ifdef __cplusplus extern "C" { #endif // Resets `op_to_reset` with `op_or_function_name` and `raw_device_name`. ThisCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (1) -
tensorflow/c/eager/immediate_execution_context.h
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_CONTEXT_H_ #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_CONTEXT_H_ #include <functional> #include <map> #include <memory> #include <vector>
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 12.3K bytes - Click Count (0) -
tensorflow/c/c_api_function.cc
TF_Status* status) { status->status = MessageToBuffer(func->record->fdef(), output_func_def); } TF_Function* TF_FunctionImportFunctionDef(const void* proto, size_t proto_len, TF_Status* status) { tensorflow::FunctionDef fdef; bool success = fdef.ParseFromArray(proto, proto_len); if (!success) { status->status = InvalidArgument(Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 16:27:48 GMT 2024 - 13.7K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.cc
text_proto); return {}; } std::vector<UniqueFuncPtr> ret; for (const FunctionDef& fdef : fdef_lib.function()) { // Make a copy so that we can mutate it. FunctionDef fdef_to_load = fdef; if (mutate_proto_func) { (*mutate_proto_func)(&fdef_to_load); } VLOG(1) << "Adding func to graph: " << fdef_to_load.DebugString();Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
graph_outputs.size(), graph_outputs.data(), nullptr, nullptr, name_.data(), s); *f = new GraphFunction(std::move(func->record->fdef())); TF_DeleteFunction(func); TF_RETURN_IF_ERROR(StatusFromTF_Status(s)); TF_DeleteStatus(s); return absl::OkStatus(); } absl::Status RegisterFunction(AbstractFunction* func) override {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat May 31 07:13:41 GMT 2025 - 15.7K bytes - Click Count (0) -
internal/config/config.go
for delKey := range strings.FieldsSeq(inputs[1]) { _, ok := currKVS.Lookup(delKey) if !ok { return Error[ErrConfigNotFound]("key %s doesn't exist", delKey) } defVal, isDef := defKVS.Lookup(delKey) if isDef { currKVS.Set(delKey, defVal) } else { currKVS.Delete(delKey) } } c[subSys][tgt] = currKVS } else { delete(c[subSys], tgt) } return nil }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 37.7K bytes - Click Count (0)