Searched refs:LegacyVar (Results 1 – 1 of 1) sorted by relevance
46 class LegacyVar : public ResourceBase { class48 explicit LegacyVar(DataType dtype) : tensor_(dtype) {} in LegacyVar() function in tensorflow::LegacyVar50 LegacyVar(const LegacyVar&) = delete;51 LegacyVar& operator=(const LegacyVar&) = delete;65 ~LegacyVar() override {} in ~LegacyVar()76 auto creator = [this](LegacyVar** var) { in Compute()77 *var = new LegacyVar(dtype_); in Compute()81 LegacyVar* var; in Compute()82 OP_REQUIRES_OK(ctx, cinfo_.resource_manager()->LookupOrCreate<LegacyVar>( in Compute()