Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Content (0.19 sec)

  1. tensorflow/c/c_api_experimental.cc

    }
    
    TF_CAPI_EXPORT extern void TFE_AbortCollectiveOps(TFE_Context* ctx,
                                                      TF_Status* status) {
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      auto collective_executor_handle = context->GetCollectiveExecutorHandle();
      collective_executor_handle->get()->StartAbort(status->status);
    }
    
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. configure.py

      else:
        question += ' [y/N]: '
    
      var = environ_cp.get(var_name)
      if var is not None:
        var_content = var.strip().lower()
        true_strings = ('1', 't', 'true', 'y', 'yes')
        false_strings = ('0', 'f', 'false', 'n', 'no')
        if var_content in true_strings:
          var = True
        elif var_content in false_strings:
          var = False
        else:
          raise UserInputError(
    Python
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

        Node* node = inputs[i].oper ? &inputs[i].oper->node : nullptr;
        int idx = inputs[i].index;
    
        TF_RETURN_WITH_CONTEXT_IF_ERROR(
            fn_body->graph.IsValidOutputTensor(node, idx),
            "Encountered while processing input ", i, " into function '", fn_name,
            "'");
        TF_RETURN_WITH_CONTEXT_IF_ERROR(ValidateNonRefOutput(node, idx),
                                        "Encountered while processing input ", i,
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  4. tensorflow/c/c_api_test.cc

      TF_DeleteBuffer(op_list_buf);
    }
    
    class DummyKernel : public tensorflow::OpKernel {
     public:
      explicit DummyKernel(tensorflow::OpKernelConstruction* context)
          : OpKernel(context) {}
      void Compute(tensorflow::OpKernelContext* context) override {}
    };
    
    // Test we can query kernels
    REGISTER_OP("TestOpWithSingleKernel")
        .Input("a: float")
        .Input("b: float")
        .Output("o: float");
    C++
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top