Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 463 for int64Ptr (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_verifiers.cc

                                                      Interface interface) {
      auto valid_operand = [&](int64_t idx) { return idx < op->getNumOperands(); };
      if (!llvm::all_of(interface.GetLayoutDependentArgs(), valid_operand)) {
        return op->emitOpError("layout dependent argument index is out of bound");
      }
    
      auto valid_result = [&](int64_t idx) { return idx < op->getNumResults(); };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 25 01:54:09 UTC 2020
    - 2K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_windows.go

    		}
    	} else {
    		result.Memory.Time = metav1.NewTime(time.Unix(0, time.Now().UnixNano()))
    		result.Memory.WorkingSetBytes = uint64Ptr(0)
    		result.Memory.AvailableBytes = uint64Ptr(0)
    		result.Memory.PageFaults = uint64Ptr(0)
    	}
    	if stats.WritableLayer != nil {
    		result.Rootfs.Time = metav1.NewTime(time.Unix(0, stats.WritableLayer.Timestamp))
    		if stats.WritableLayer.UsedBytes != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

    }
    
    // Helper struct holding a resource handle value and unique id associated to the
    // resource handle.
    struct ResourceHandleValueAndId {
      ResourceHandleValueAndId(Value value, int64_t id) : value(value), id(id) {}
    
      Value value;
      int64_t id = -1;
    };
    
    //===----------------------------------------------------------------------===//
    // TF op helper functions for handling resource handles and ids.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

            return true;
          }
        }
      }
      return false;
    }
    
    }  // namespace
    
    constexpr int64_t ResourceAliasAnalysisInfo::kUnknownResourceId;
    
    void IncrementResourceTypeId(int64_t& resource_type_id) {
      if (resource_type_id == ResourceAliasAnalysisInfo::kMaxResourceTypeId) {
        // We don't expect this to happen, currently there are 10 resource types in
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

        return absl::OkStatus();
      }
    
      DialectRegistry registry_;
      MLIRContext context_;
      OwningOpRef<mlir::ModuleOp> mlir_module_;
    };
    
    TEST_F(TensorflowDialectToExecutorTest, ConvertsToExecutor) {
      CellReader<int64_t> compilation_status(kExportStreamzName);
    
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(ExportFromTensorflowDialectToExecutor(*mlir_module_));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. tensorflow/c/tf_file_statistics.h

    #ifndef TENSORFLOW_C_TF_FILE_STATISTICS_H_
    #define TENSORFLOW_C_TF_FILE_STATISTICS_H_
    
    #include <stdint.h>
    
    typedef struct TF_FileStatistics {
      // The length of the file in bytes.
      int64_t length;
      // The last modified time in nanoseconds.
      int64_t mtime_nsec;
      // Whether the name refers to a directory.
      bool is_directory;
    } TF_FileStatistics;
    
    // TODO(b/139060984): `tensorflow::FileStatistics` from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:21:15 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      }
    }
    
    void TestEncodeDecode(int line, const std::vector<string>& data) {
      const int64_t n = data.size();
      Status status;
      for (const std::vector<int64_t>& dims :
           std::vector<std::vector<int64_t>>{{n}, {1, n}, {n, 1}, {n / 2, 2}}) {
        // Create C++ Tensor
        Tensor src(tensorflow::DT_STRING, TensorShape(dims));
        for (int64_t i = 0; i < src.NumElements(); ++i) {
          src.flat<tstring>()(i) = data[i];
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  8. tensorflow/c/kernels.cc

                                 TF_DataType dtype, const int64_t* dims,
                                 int num_dims, size_t len, TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(context);
      tensorflow::gtl::ArraySlice<const int64_t> dimarray(
          reinterpret_cast<const int64_t*>(dims), num_dims);
      tensorflow::Tensor* tensor;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/utils.h

    }
    
    ConstantOp GetScalarConstOfType(Type ty, Location loc, int64_t raw_value,
                                    OpBuilder* builder);
    
    ConstantOp GetScalarNegZeroOfType(Type ty, Location loc, OpBuilder* builder);
    
    // Converts an ArrayAttr to a 1D 64-bit dense elements attribute.
    DenseIntElementsAttr GetI64ElementsAttr(ArrayAttr attr);
    DenseIntElementsAttr GetI64ElementsAttr(llvm::ArrayRef<int64_t> values,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.h

     private:
      ParallelTensor(const ParallelDevice& device,
                     std::vector<TensorHandlePtr> tensors,
                     absl::Span<const int64_t> shape, const TF_DataType dtype)
          : device_(device),
            tensors_(std::move(tensors)),
            shape_(std::vector<int64_t>(shape.begin(), shape.end())),
            dtype_(dtype) {}
      ParallelTensor(const ParallelDevice& device,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 25 15:21:13 UTC 2023
    - 12.9K bytes
    - Viewed (0)
Back to top