Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RemoveFunction (0.23 sec)

  1. tensorflow/c/c_api_experimental.cc

    }
    
    void TF_GraphRemoveFunction(TF_Graph* g, const char* func_name,
                                TF_Status* status) {
      tensorflow::mutex_lock l(g->mu);
      status->status = g->graph.mutable_flib_def()->RemoveFunction(func_name);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        return errors::Unimplemented(
            "Registering graph functions has not been implemented yet.");
      }
    
      Status RemoveFunction(const string& func) override {
        return errors::Unimplemented(
            "GraphContext::RemoveFunction has not been implemented yet.");
      }
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kGraph;
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  3. tensorflow/c/eager/unified_api_testutil.cc

          if (!null_indices.contains(i)) {
            outputs[i] = fn_outputs[i - skipped_indices];
          } else {
            skipped_indices += 1;
          }
        }
        TF_RETURN_IF_ERROR(ctx->RemoveFunction(fn_name));
        return absl::OkStatus();
      } else {
        return model(ctx, inputs, outputs);
      }
    }
    
    Status BuildImmediateExecutionContext(bool use_tfrt, AbstractContext** ctx) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.cc

      return result;
    }
    
    void TFE_ContextRemoveFunction(TFE_Context* ctx, const char* name,
                                   TF_Status* status) {
      status->status = tensorflow::unwrap(ctx)->RemoveFunction(name);
    }
    
    unsigned char TFE_ContextHasFunction(TFE_Context* ctx, const char* name) {
      return tensorflow::unwrap(ctx)->FindFunctionDef(name) != nullptr;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top