Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Settings (0.24 sec)

  1. tensorflow/c/c_api.cc

      RecordMutation(graph, *op, "setting fulltype");
    }
    
    void TF_SetRequestedDevice(TF_Graph* graph, TF_Operation* op,
                               const char* device) {
      using tensorflow::RecordMutation;
      mutex_lock l(graph->mu);
      op->node.set_requested_device(device);
      RecordMutation(graph, *op, "setting device");
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradients.cc

        forward_op_->outputs.push_back(retvals[i]);
      }
      // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
      // attributes. Number type attrs and DataType attrs work fine without this.
      // Consider getting rid of this and making the behavior between number types
      // and string consistent.
      forward_op_->attrs.BuildNodeDef();
      std::unique_ptr<GradientFunction> gradient_fn;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

      // caller of event_mgr->ThenExecute() blocks on the completion of the callback
      // (as in the case of ConstOp kernel creation on GPU, which involves copying a
      // CPU tensor to GPU).
      // Setting a larger thread pool does not help with the Swift caller, as we use
      // a different TFE context for each thread of execution (for running graph
      // functions, and their send/recvs corountines).
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/tape/tape_operation.cc

        forward_op_.outputs.push_back(retvals[i]);
      }
      // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
      // attributes. Number type attrs and DataType attrs work fine without this.
      // Consider getting rid of this and making the behavior between number types
      // and string consistent.
      forward_op_.attrs.BuildNodeDef();
      // TODO(b/170307493): Populate skip_input_indices here.
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        if (BlockNotStale(entry->second)) {
          return entry->second;
        } else {
          // Remove the stale block and continue.
          RemoveFile_Locked(key.first);
        }
      }
    
      // Insert a new empty block, setting the bookkeeping to sentinel values
      // in order to update them as appropriate.
      auto new_entry = std::make_shared<Block>();
      lru_list_.push_front(key);
      lra_list_.push_front(key);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

      // Create a session for this graph.
      CSession csession(graph, s, use_XLA);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      if (!device.empty()) {
        LOG(INFO) << "Setting op Min on device " << device;
      }
      TF_Operation* min = MinWithDevice(feed, one, graph, device, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Run the graph.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top