Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TF_ColocateWith (0.09 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/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;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  3. 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 not
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  4. 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