Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for TF_ColocateWith (0.06 seconds)

  1. 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)
  2. 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)
Back to Top