- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for TF_ColocateWith (0.56 seconds)
-
tensorflow/c/c_api_test.cc
FinishAndVerify(desc_, {"loc:@feed1"}); } TEST_F(CApiColocationTest, ColocateWith_StringList) { TF_ColocateWith(desc_, feed1_); SetViaStringList(desc_, {"loc:@feed2"}); FinishAndVerify(desc_, {"loc:@feed2"}); } TEST_F(CApiColocationTest, ColocateWith_Proto) { TF_ColocateWith(desc_, feed1_); SetViaProto(desc_, {"loc:@feed2"}); FinishAndVerify(desc_, {"loc:@feed2"}); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
// // Very similar to TF_OperationDescription with some differences: // (1) TF_Output or TFE_TensorHandle* as arguments to TF_AddInput, // TF_AddInputList // (2) TF_ColocateWith, TF_AddControlInput etc. do not make sense. // (3) Implementation detail: Avoid use of NodeBuilder/NodeDefBuilder since // the additional sanity checks there seem unnecessary; typedef struct TFE_Op TFE_Op;
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.h
// is placed. // // Use of this is discouraged since the implementation of device placement is // subject to change. Primarily intended for internal libraries TF_CAPI_EXPORT extern void TF_ColocateWith(TF_OperationDescription* desc, TF_Operation* op); // Call some TF_SetAttr*() function for every attr that is notCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
tensorflow/c/c_api.cc
} desc->node_builder.Input(input_list); } void TF_AddControlInput(TF_OperationDescription* desc, TF_Operation* input) { desc->node_builder.ControlInput(&input->node); } void TF_ColocateWith(TF_OperationDescription* desc, TF_Operation* op) { desc->colocation_constraints.emplace( absl::StrCat(tensorflow::kColocationGroupPrefix, op->node.name())); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0)