Search Options

Results per page
Sort
Preferred Languages
Advance

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

  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"});
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (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(
          StrCat(tensorflow::kColocationGroupPrefix, op->node.name()));
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top