Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for template (0.37 sec)

  1. tensorflow/api_template.__init__.py

    only a placeholder to enable test cases to run. The TensorFlow build replaces
    this file with a file generated from [`api_template.__init__.py`](https://www.github.com/tensorflow/tensorflow/blob/master/tensorflow/api_template.__init__.py)
    """
    # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
    
    import distutils as _distutils
    import importlib
    import inspect as _inspect
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  2. tensorflow/c/eager/unified_api_testutil.h

                    absl::Span<AbstractTensorHandle*> outputs, bool use_function);
    
    Status BuildImmediateExecutionContext(bool use_tfrt, AbstractContext** ctx);
    
    // Return a tensor handle with given type, values and dimensions.
    template <class T, TF_DataType datatype>
    Status TestTensorHandleWithDims(AbstractContext* ctx, const T* data,
                                    const int64_t* dims, int num_dims,
                                    AbstractTensorHandle** tensor) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/tape.h

            return true;
          }
        }
      }
      return false;
    }
    
    template <typename Gradient, typename BackwardFunction, typename TapeTensor>
    void GradientTape<Gradient, BackwardFunction, TapeTensor>::Watch(
        int64_t tensor_id) {
      tensor_tape_.emplace(tensor_id, -1);
    }
    
    template <typename Gradient, typename BackwardFunction, typename TapeTensor>
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  4. tensorflow/BUILD

            2,
        ],
        compat_init_templates = [
            "compat_template_v1.__init__.py",
            "compat_template.__init__.py",
        ],
        output_dir = "_api/v1/",
        output_files = TENSORFLOW_API_INIT_FILES_V1,
        output_package = "tensorflow._api.v1",
        packages_to_ignore = ["tensorflow.python.framework.test_ops"],
        root_file_name = "v1.py",
        root_init_template = "api_template_v1.__init__.py",
    )
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  5. tensorflow/c/c_api.cc

        input_list.emplace_back(&inputs[i].oper->node, inputs[i].index);
      }
      desc->node_builder.Input(input_list);
    }
    
    void TF_AddControlInput(TF_OperationDescription* desc, TF_Operation* input) {
      desc->node_builder.ControlInput(&input->node);
    }
    
    void TF_ColocateWith(TF_OperationDescription* desc, TF_Operation* op) {
      desc->colocation_constraints.emplace(
    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)
  6. tensorflow/c/eager/c_api_experimental.h

    // TODO(fishx): Move these monitoring APIs into a separate file.
    // -----------------------------------------------------------------------------
    // Monitoring Counter APIs.
    // These APIs de-templated monitoring Counter for swig.
    
    typedef struct TFE_MonitoringCounterCell TFE_MonitoringCounterCell;
    
    // Atomically increments the value of the cell. The value must be non-negative.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  7. RELEASE.md

            TrtConversionParams as a parameter. Removed three deprecated fields from
            this class: `rewriter_config_template`, `is_dynamic_op`, and
            `max_batch_size`. Previously, we issued a warning when the value of
            `rewriter_config_template` is not None. We issued an error when the
            value of `is_dynamic_op` is not True. We didn't use the value for
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

          for (int i = 0; i < num_values; ++i) {
            op_->colocation_constraints.emplace(static_cast<const char*>(values[i]),
                                                lengths[i]);
          }
        } else {
          std::vector<tensorflow::StringPiece> v;
          v.reserve(num_values);
          for (int i = 0; i < num_values; ++i) {
            v.emplace_back(static_cast<const char*>(values[i]), lengths[i]);
          }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  9. tensorflow/c/eager/unified_api_testutil.cc

        PartialTensorShape shape;
        TF_RETURN_IF_ERROR(input->Shape(&shape));
        TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingContext>(ctx)->AddParameter(
            input->DataType(), shape, &handle));
        params->emplace_back(handle);
      }
      return absl::OkStatus();
    }
    
    // Runs `model` maybe wrapped in a function.
    Status RunModel(Model model, AbstractContext* ctx,
                    absl::Span<AbstractTensorHandle* const> inputs,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_test_util.cc

      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      const int num_devices = TF_DeviceListCount(devices);
      for (int i = 0; i < num_devices; ++i) {
        device_names.emplace_back(TF_DeviceListName(devices, i, status));
        EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      }
      TF_DeleteDeviceList(devices);
      TF_DeleteStatus(status);
      return device_names;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
Back to top