- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for numero (0.21 sec)
-
tensorflow/c/c_api.cc
InvalidArgument("Node ", node->name(), " was not found in the graph"); return -1; } tensorflow::shape_inference::ShapeHandle shape = ic->output(output.index); // Unknown rank means the number of dimensions is -1. if (!ic->RankKnown(shape)) { return -1; } return ic->Rank(shape); } void TF_GraphGetTensorShape(TF_Graph* graph, TF_Output output, int64_t* dims,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
if (input_arg.number_attr().empty()) { status->status = tensorflow::errors::NotFound( op_name, " does not have number_attr() defined."); return nullptr; } // The returned string is owned by OpRegistry, so liveness is not a concern. return input_arg.number_attr().c_str(); } int TF_OpIsStateful(const char* op_type, TF_Status* status) {
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) -
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 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.cc
theta_inputs[input_index]; // parameter we are grad checking // Convert from AbstractTensor to TF_Tensor. TF_Tensor* theta_tensor; TF_RETURN_IF_ERROR(GetValue(theta, &theta_tensor)); // Get number of elements and fill data. int num_elems = TF_TensorElementCount(theta_tensor); vector<float> theta_data(num_elems); memcpy(theta_data.data(), TF_TensorData(theta_tensor), TF_TensorByteSize(theta_tensor));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/math_grad.cc
return tensorflow::ops::Identity(ctx, input, output, name); } else if (!DataTypeIsComplex(BaseType(dtype)) && BaseType(dtype) != DT_VARIANT) { return errors::InvalidArgument( "Expected numeric or variant tensor, got dtype ", dtype); } return tensorflow::ops::Conj(ctx, input, output, name); } class AddGradientFunction : public GradientFunction { public: Status Compute(AbstractContext* ctx,
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)