Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 121 for data_type_ (0.18 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/StatementResolver.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.declarativedsl.analysis
    
    import org.gradle.declarative.dsl.schema.DataType
    import org.gradle.declarative.dsl.schema.FunctionSemantics
    import org.gradle.internal.declarativedsl.language.Assignment
    import org.gradle.internal.declarativedsl.language.Expr
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/cpp/golden/testing_ops.h.golden

    //
    Status VarHandleOp(AbstractContext* ctx, AbstractTensorHandle** resource, DataType dtype, const PartialTensorShape shape, const char* container = "", const char* shared_name = "", const char* debug_name = "", absl::Span<string const> allowed_devices = {}, const char* name = nullptr, const char* raw_device_name = nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test_util.h

    // Return a tensor handle with given type, values and dimensions.
    template <class T, TF_DataType datatype>
    TFE_TensorHandle* TestTensorHandleWithDims(TFE_Context* ctx, const T* data,
                                               const int64_t* dims, int num_dims) {
      TF_Status* status = TF_NewStatus();
      TF_Tensor* t = TFE_AllocateHostTensor(ctx, datatype, dims, num_dims, status);
      memcpy(TF_TensorData(t), data, TF_TensorByteSize(t));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 17 23:43:59 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/c/kernels/bitcast_op.cc

    //   * an attribute named "type" containing the TF_DataType of the output tensor
    //
    // Given an input tensor of shape [...], if the input DataType "T" is larger
    // than the output DataType "type", then the shape changes from [...]
    // to [..., sizeof(T)/sizeof(type)].
    //
    // If "T" is smaller than "type", the operator requires that the rightmost
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.h

      llvm::ArrayRef<llvm::StringRef> input_names;
      llvm::ArrayRef<
          std::pair<tensorflow::DataType, tensorflow::PartialTensorShape>>
          input_specs;
      llvm::ArrayRef<llvm::StringRef> input_devices;
    
      // The following are metadata for outputs.
      llvm::ArrayRef<llvm::StringRef> output_names;
      llvm::ArrayRef<
          std::pair<tensorflow::DataType, tensorflow::PartialTensorShape>>
          output_specs;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 17:42:41 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/analysis/analysis.proto

      bool ref_variable = 2;
      bool incompatible_variable = 3;
      bool incompatible_attribute = 4;
      bool control_flow_v1 = 5;
      string method_name = 6;
    
      // TODO(chky): add more checks, eg. tensor datatypes.
    }
    
    message CompatibilityAnalysisProto {
      CompatibilityAnalysisReportProto summary = 1;
    
      message OpInfo {
        int32 count = 1;
    
        CompatibilityAnalysisReportProto report = 2;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 20 20:56:11 UTC 2021
    - 533 bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/tape/tape_operation.cc

    }
    Status TapeOperation::SetAttrTypeList(const char* attr_name,
                                          const DataType* values, int num_values) {
      forward_op_.attrs.Set(attr_name,
                            gtl::ArraySlice<const DataType>(values, num_values));
      return parent_op_->SetAttrTypeList(attr_name, values, num_values);
    }
    Status TapeOperation::SetAttrBoolList(const char* attr_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 06:16:45 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. tensorflow/c/tf_tensor_internal.h

      static TensorBuffer* Buffer(const Tensor& tensor) { return tensor.buf_; }
      static Tensor MakeTensor(TF_DataType type, const TensorShape& shape,
                               TensorBuffer* buf) {
        return Tensor(static_cast<DataType>(type), shape, buf);
      }
    };
    
    // Allocates tensor data buffer using specified allocator.
    // `operation` is a name for this operation.
    void* allocate_tensor(const char* operation, size_t len, Allocator* allocator);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/tape/tape_operation.h

      Status SetAttrFloat(const char* attr_name, float value) override;
      Status SetAttrBool(const char* attr_name, bool value) override;
      Status SetAttrType(const char* attr_name, DataType value) override;
      Status SetAttrShape(const char* attr_name, const int64_t* dims,
                          const int num_dims) override;
      Status SetAttrFunction(const char* attr_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 23:12:39 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc

    Status DemangleTensor(absl::string_view str, TensorProto* proto) {
      return ParseTextProto(str, kTensorPrefix, proto);
    }
    
    string MangleDataType(const DataType& dtype) {
      return absl::StrCat(kDataTypePrefix, DataType_Name(dtype));
    }
    
    Status DemangleDataType(absl::string_view str, DataType* proto) {
      absl::string_view pbtxt;
      TF_RETURN_IF_ERROR(ConsumePrefix(str, kDataTypePrefix, &pbtxt));
      if (!DataType_Parse(string(pbtxt), proto)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top