Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for souring (0.22 sec)

  1. tensorflow/c/eager/c_api_cluster_test.cc

      // Rename local device
      // This server def has the task index set to 0.
      string serialized = server_def.SerializeAsString();
      TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      const string dev1_name =
          absl::StrCat("/job:", first_name, "/replica:0/task:0/device:CPU:0");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_test_util.cc

      if (ret) ret = attr_value->ParseFromArray(buffer->data, buffer->length);
      TF_DeleteBuffer(buffer);
      return ret;
    }
    
    std::vector<std::pair<string, string>> GetGradDefs(
        const tensorflow::GraphDef& graph_def) {
      std::vector<std::pair<string, string>> grads;
      for (const tensorflow::GradientDef& grad : graph_def.library().gradient()) {
        grads.emplace_back(grad.function_name(), grad.gradient_func());
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  3. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

      // Use the special GUID for no buffer sharing
      //
      // TODO(allenl): Should we provide a better API for this? AFAIK this is the
      // only reasonable way to make variables with no aliasing using the eager C
      // API.
      std::string no_sharing = "cd2c89b7-88b7-44c8-ad83-06c2a9158347";
      TFE_OpSetAttrString(op.get(), "shared_name", no_sharing.c_str(),
                          no_sharing.length());
      TFE_OpSetDevice(op.get(), device, status);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_distributed_test.cc

    }
    
    class FunctionErrorInjectionPass : public tensorflow::FunctionOptimizationPass {
     public:
      FunctionErrorInjectionPass(string error_node, string error_device)
          : error_node_(error_node), error_device_(error_device) {}
      tensorflow::Status Run(const std::string& function_name,
                             const tensorflow::DeviceSet& device_set,
                             const tensorflow::ConfigProto& config_proto,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top