Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CreateStringTensor (0.12 sec)

  1. tensorflow/cc/saved_model/loader.cc

          }
    
          // Also check that there is no recursivity in the library
          TF_RETURN_IF_ERROR(ValidateFunctionNotRecursive(function));
        }
      }
    
      return absl::OkStatus();
    }
    
    Tensor CreateStringTensor(const string& value) {
      Tensor tensor(DT_STRING, TensorShape({}));
      tensor.scalar<tstring>()() = value;
      return tensor;
    }
    
    void AddAssetsTensorsToInputs(const StringPiece export_dir,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top