Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for op_name_ (0.07 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_graph.cc

     private:
      friend class GraphContext;  // For access to op_.
      TF_Graph* g_;
      std::unique_ptr<TF_OperationDescription> op_;
      // Hold `op_type` and `op_name` till both are available since we need both
      // to build a graph operation.
      string op_type_;
      const char* op_name_ = nullptr;
      // TODO(srbs): Use this.
      string device_name_;
    };
    
    // GraphContext wraps a TF_Graph modeling a single function and manages the
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradients.cc

    }  // namespace
    
    absl::Status GradientRegistry::Register(
        const string& op_name, GradientFunctionFactory gradient_function_factory) {
      auto iter = registry_.find(op_name);
      if (iter != registry_.end()) {
        const string error_msg = "Gradient already exists for op: " + op_name + ".";
        return errors::AlreadyExists(error_msg);
      }
      registry_.insert({op_name, gradient_function_factory});
      return absl::OkStatus();
    }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

      // `TF_AttrBuilderCheckCanRunOnDevice()` call(s) on the same `builder`.
      std::set<std::string> attr_names;
    };
    
    TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name) {
      return new TF_AttrBuilder(op_name);
    }
    
    void TF_DeleteAttrBuilder(TF_AttrBuilder* builder) { delete builder; }
    
    void TF_AttrBuilderSetType(TF_AttrBuilder* builder, const char* attr_name,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradients.h

      // least one input of the op is watched and has a trainable dtype.
      // op_name is optional and is used for debugging only.
      void RecordOperation(absl::Span<AbstractTensorHandle* const> inputs,
                           absl::Span<AbstractTensorHandle* const> outputs,
                           GradientFunction* gradient_function,
                           const string& op_name = "");
      // Returns whether any tensor in a list of tensors is being watched and has
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. internal/grid/msg_string.go

    	_ = x[OpMuxServerMsg-10]
    	_ = x[OpUnblockSrvMux-11]
    	_ = x[OpUnblockClMux-12]
    	_ = x[OpAckMux-13]
    	_ = x[OpRequest-14]
    	_ = x[OpResponse-15]
    	_ = x[OpDisconnect-16]
    	_ = x[OpMerged-17]
    }
    
    const _Op_name = "ConnectConnectResponsePingPongConnectMuxMuxConnectErrorDisconnectClientMuxDisconnectServerMuxMuxClientMsgMuxServerMsgUnblockSrvMuxUnblockClMuxAckMuxRequestResponseDisconnectMerged"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test_util.cc

      return op;
    }
    
    TFE_Op* SendOp(TFE_Context* ctx, TFE_TensorHandle* in,
                   const std::string& op_name, const std::string& send_device,
                   const std::string& recv_device,
                   tensorflow::uint64 send_device_incarnation) {
      TF_Status* status = TF_NewStatus();
      TFE_Op* op = TFE_NewOp(ctx, op_name.c_str(), status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, in, status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental.cc

      tsl::Set_TF_Status_from_Status(
          s, unwrap(op)->Reset(op_type,
                               /*raw_device_name=*/nullptr));
    }
    
    void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name,
                                TF_Status* s) {
      TracingOperation* tracing_op = dyn_cast<TracingOperation>(unwrap(op));
      if (!tracing_op) {
        tsl::Set_TF_Status_from_Status(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_internal.h

     public:
      // Sets the name of the operation: this is an optional identifier that is
      // not intended to carry semantics and preserved/propagated without
      // guarantees.
      virtual absl::Status SetOpName(const char* op_name) = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractOperation* ptr) {
        return ptr->getKind() == kGraph || ptr->getKind() == kMlir;
      }
    };
    
    namespace internal {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/SystemUtilTest.java

            System.out.println(SystemUtil.FILE_ENCODING);
            System.out.println(SystemUtil.LINE_SEPARATOR);
            System.out.println(SystemUtil.PATH_SEPARATOR);
            System.out.println(SystemUtil.OS_NAME);
            System.out.println(SystemUtil.JAVA_IO_TMPDIR);
            System.out.println(SystemUtil.USER_DIR);
            System.out.println(SystemUtil.USER_HOME);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

      TF_OperationDescription* init(string type) {
        // Construct op_name to match the name used by REGISTER_OP in the
        // ATTR_TEST_REGISTER calls above.
        string op_name = "CApiAttributesTestOp";
        if (type.find("list(") == 0) {
          op_name += "List";
          type = type.replace(0, 5, "");
          type = type.replace(type.size() - 1, 1, "");
        }
        op_name += type;
        return TF_NewOperation(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top