Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Blog (0.2 sec)

  1. tensorflow/c/eager/c_api.cc

          attr_name, static_cast<const char*>(value), length);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name, int64_t value) {
      auto s = tensorflow::unwrap(op)->SetAttrInt(attr_name, value);
      if (!s.ok()) {
        LOG(WARNING) << "Unable to set attribute: " << attr_name;
      }
    }
    
    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)
  2. tensorflow/c/eager/c_api_test_util.cc

        const string dev_name(TF_DeviceListName(devices, i, status.get()));
        CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
        if (dev_type == device_type) {
          *device_name = dev_name;
          LOG(INFO) << "Found " << device_type << " device " << *device_name;
          TF_DeleteDeviceList(devices);
          return true;
        }
      }
      TF_DeleteDeviceList(devices);
      return false;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  3. tensorflow/c/experimental/gradients/math_grad.cc

                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        // TODO(vnvo2409): Add control dependency
        /* Given upstream grad U and a Log1p op: Y = log(1 + X), the gradients are:
         *
         *    dX = U / (1 + X)
         *
         */
    
        AbstractTensorHandle* upstream_grad = grad_outputs[0];
        AbstractTensorHandle* X = forward_inputs_[0];
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.cc

      {
        tensorflow::mutex_lock c(session->graph->mu);
        if (VLOG_IS_ON(1)) {
          VLOG(1) << "Enqueuing named tensor with id " << tensor_id
                  << ", with input graph: "
                  << session->graph->graph.ToGraphDefDebug().DebugString();
          tensorflow::Tensor internal_tensor;
          if (tensorflow::TF_TensorToTensor(tensor, &internal_tensor).ok()) {
            VLOG(1) << "Enqueu'ing tensor content: "
    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)
  5. tensorflow/c/eager/tape.h

      // time, for better CPU backprop performance.
      VLOG(1) << "Initial stack:";
      if (VLOG_IS_ON(1)) {
        for (auto t : op_stack) {
          VLOG(1) << "  " << t;
        }
      }
      while (!op_stack.empty()) {
        const int64_t op = op_stack.back();
        VLOG(1) << "Popped " << op;
        op_stack.pop_back();
        auto op_it = state.op_tape.find(op);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
Back to top